mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 08:16:51 -04:00
Add more spacing under the flash banner
It was a bit too close to the page title, just felt like it needed room to breathe.
This commit is contained in:
@@ -2,12 +2,14 @@
|
|||||||
{% with messages = get_flashed_messages(with_categories=true) %}
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||||
{% if messages %}
|
{% if messages %}
|
||||||
{% for category, message in messages %}
|
{% for category, message in messages %}
|
||||||
{{ banner(
|
<div class="bottom-gutter">
|
||||||
message,
|
{{ banner(
|
||||||
'default' if ((category == 'default') or (category == 'default_with_tick')) else 'dangerous',
|
message,
|
||||||
delete_button="Yes, {}".format(category) if category in ['delete', 'suspend', 'resume', 'remove'] else None,
|
'default' if ((category == 'default') or (category == 'default_with_tick')) else 'dangerous',
|
||||||
with_tick=True if category == 'default_with_tick' else False
|
delete_button="Yes, {}".format(category) if category in ['delete', 'suspend', 'resume', 'remove'] else None,
|
||||||
)}}
|
with_tick=True if category == 'default_with_tick' else False
|
||||||
|
)}}
|
||||||
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|||||||
Reference in New Issue
Block a user