diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2021-07-02 09:53:19 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2021-07-02 09:53:19 +0200 |
commit | 4c1c4b93072cb3caef712658aa97cf4023a88c06 (patch) | |
tree | 0981c2bbaa4323caa32e3c46b78a29335a5c43b9 | |
parent | various fixes in the JavaScript functions to mark an article as read/unread a... (diff) | |
download | newspipe-4c1c4b93072cb3caef712658aa97cf4023a88c06.tar.gz newspipe-4c1c4b93072cb3caef712658aa97cf4023a88c06.tar.bz2 newspipe-4c1c4b93072cb3caef712658aa97cf4023a88c06.zip |
fixed alert messages
-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 %} |