forked from rc/aircox
misc: add style to edit links
This commit is contained in:
@ -509,6 +509,11 @@ a.nav-item:hover {
|
||||
color: #738EF2 !important;
|
||||
}
|
||||
|
||||
.withmargin {
|
||||
margin-bottom: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1224px) {
|
||||
.grid.list-emissions:not(.list-home) > .list-item {width: calc(33% - 2rem) !important;;}
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ Styling related context:
|
||||
<div class="actions">
|
||||
{% block actions %}
|
||||
{% if admin and object.edit_url_name %}
|
||||
<a href="{% url object.edit_url_name pk=object.pk %}" target="_self">{% translate "Edit" %}</a>
|
||||
<a href="{% url object.edit_url_name pk=object.pk %}" target="_self" class="button secondary withmargin">{% translate "Edit" %}</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user