manager: give cell links/button line its own class (#45760)

This commit is contained in:
Frédéric Péters 2020-08-06 08:10:37 +02:00
parent d62dc92037
commit 40e32ff67d
2 changed files with 2 additions and 6 deletions

View File

@ -164,7 +164,7 @@ div.cell-list button.save {
}
div.cell div.buttons {
div.cell div.cell-buttons {
clear: both;
margin-top: 2em;
margin-bottom: 1ex;
@ -236,10 +236,6 @@ p#redirection {
border: 1px solid #eee;
}
.buttons .delete {
float: right;
}
.icon-eye-open:before { content: "\f06e "; }
.icon-edit:before { content: "\f044"; }

View File

@ -12,7 +12,7 @@
<p>{% trans "There are no options for this cell." %}</p>
{% endif %}
{% endblock %}
<div class="buttons">
<div class="cell-buttons">
{% block cell-buttons %}
<a rel="popup" href="{% url 'combo-manager-page-delete-cell' page_pk=page.id cell_reference=cell.get_reference %}">{% trans 'Delete' %}</a> |
<a rel="popup" href="{% url 'combo-manager-page-visibility-cell' page_pk=page.id cell_reference=cell.get_reference %}">{% trans 'Visibility' %}</a> |