Skip to content

Commit 5375d40

Browse files
authored
Adding .fade and .in to use animation when closing
1 parent b0ac79c commit 5375d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/default/_flash_messages.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{% for type, messages in app.flashes %}
1212
{% for message in messages %}
1313
{# Bootstrap alert, see http://getbootstrap.com/components/#alerts #}
14-
<div class="alert alert-dismissible alert-{{ type }}" role="alert">
14+
<div class="alert alert-dismissible alert-{{ type }} fade in" role="alert">
1515
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
1616
<span aria-hidden="true">&times;</span>
1717
</button>

0 commit comments

Comments
 (0)