0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 11:10:43 +01:00

Put actions side by side

This commit is contained in:
Karl Hobley 2020-03-19 17:10:52 +00:00 committed by Matt Westcott
parent 4643a5bd91
commit 5c5809fffc
2 changed files with 7 additions and 1 deletions

View File

@ -20,4 +20,10 @@
margin-top: 20px;
}
}
&__actions > div {
float: right;
display: block;
margin-right: 10px;
}
}

View File

@ -11,7 +11,7 @@
<h1 class="icon icon-{{ header_icon }}">{{ title }}{% if subtitle %} <span>{{ subtitle }}</span>{% endif %}</h1>
</div>
</div>
<div class="right">
<div class="right report__actions">
{% block actions %}
{% if view.list_export %}
<div class="dropdown dropdown-button match-width">