Fix notification styling

Fixes #88
This commit is contained in:
William Hughes 2018-06-30 12:30:32 +12:00 committed by Tobias S
parent e8c593e237
commit 77ce0021ef
2 changed files with 12 additions and 6 deletions

View file

@ -51,11 +51,13 @@
<main role="main" class="{% block main_class %}container{% endblock %}">
{% if messages %}
<ul class="messagelist hidden-print">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
<div class="container mb-5 alert alert-light border-primary">
<ul class="messagelist hidden-print">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
</div>
{% endif %}

View file

@ -253,4 +253,8 @@ main {
.card {
min-width: 20rem;
}
}
ul.messagelist {
margin-bottom: 0;
}