Skip to content

Commit

Permalink
minor #1442 Show invisible alerts (fix #1440) (smnandre)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
javiereguiluz committed Oct 23, 2023
2 parents d30a708 + 5100c82 commit 27f08c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/_flash_messages.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{% for type, messages in app.flashes %}
{% for message in messages %}
{# Bootstrap alert, see https://getbootstrap.com/docs/3.4/components/#alerts #}
<div class="alert alert-dismissible alert-{{ type }} fade in" role="alert">
<div class="alert alert-dismissible alert-{{ type }} fade show" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="{{ 'action.close'|trans }}">
<span aria-hidden="true">&times;</span>
</button>
Expand Down

0 comments on commit 27f08c4

Please sign in to comment.