col-8 changed to col-10 for success flash message to fix display

This commit is contained in:
Julie Lenaerts 2021-08-25 11:37:03 +02:00
parent f4962f86a0
commit f751d6abca

View File

@ -53,8 +53,12 @@
{% block sublayout_content %}
<div class="row justify-content-center my-5">
{# col-8 : width wasn't long enough. It would cause the message to be displayed on the left of
the screen and the list of activities on the right...
I don't know if this needs to be changed for the other flash messages too?
For other pages, it doesn't change much visually. #}
{% for flashMessage in app.session.flashbag.get('success') %}
<div class="col-8 mb-5 alert alert-success flash_message">
<div class="col-10 mb-5 alert alert-success flash_message">
<span>{{ flashMessage|raw }}</span>
</div>
{% endfor %}