1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#6372: Clone/edit/delete buttons are not top-aligned

This commit is contained in:
checktheroads
2021-05-25 08:35:53 -07:00
parent 0c8195e4f1
commit 5b68a11f01

View File

@ -18,11 +18,15 @@
{% block title %}{{ object }}{% endblock %}
{% block controls %}
<div class="controls mb-2 mx-0">
<div class="d-flex flex-wrap justify-content-end">
{# Clone/Edit/Delete Buttons #}
<div class="controls pb-2 mx-0">
<div class="d-flex flex-wrap justify-content-end mb-2">
{% custom_links object %}
{% plugin_buttons object %}
{# Extra buttons #}
{% block extra_controls %}{% endblock %}
{% if request.user|can_add:object %}
{% clone_button object %}
{% endif %}
@ -32,6 +36,7 @@
{% if request.user|can_delete:object %}
{% delete_button object %}
{% endif %}
</div>
</div>
{% endblock controls %}