Skip to content

Commit 27f08c4

Browse files
committed
minor #1442 Show invisible alerts (fix #1440) (smnandre)
This PR was squashed before being merged into the main branch. Discussion ---------- Show invisible alerts (fix #1440) Add class "show" to avoid invisible alerts See #1440 Commits ------- 5100c82 Show invisible alerts (fix #1440)
2 parents d30a708 + 5100c82 commit 27f08c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/default/_flash_messages.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{% for type, messages in app.flashes %}
2020
{% for message in messages %}
2121
{# Bootstrap alert, see https://getbootstrap.com/docs/3.4/components/#alerts #}
22-
<div class="alert alert-dismissible alert-{{ type }} fade in" role="alert">
22+
<div class="alert alert-dismissible alert-{{ type }} fade show" role="alert">
2323
<button type="button" class="close" data-dismiss="alert" aria-label="{{ 'action.close'|trans }}">
2424
<span aria-hidden="true">&times;</span>
2525
</button>

0 commit comments

Comments
 (0)