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 %}"> <main role="main" class="{% block main_class %}container{% endblock %}">
{% if messages %} {% if messages %}
<ul class="messagelist hidden-print"> <div class="container mb-5 alert alert-light border-primary">
{% for message in messages %} <ul class="messagelist hidden-print">
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li> {% for message in messages %}
{% endfor %} <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
</ul> {% endfor %}
</ul>
</div>
{% endif %} {% endif %}

View file

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