diff options
-rw-r--r-- | newspipe/templates/layout.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newspipe/templates/layout.html b/newspipe/templates/layout.html index 525eb426..4cb74de7 100644 --- a/newspipe/templates/layout.html +++ b/newspipe/templates/layout.html @@ -35,9 +35,9 @@ {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} - <div class="alert alert-{{category}}" role="alert"> + <div class="alert alert-{{category}} alert-dismissible fade show" role="alert"> {{ message }} - <button type="button" class="close" data-dismiss="alert">×</button> + <a type="button" data-bs-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></a> </div> {% endfor %} {% endif %} |