Skip to content

Commit

Permalink
messages: fix top margin in flashed messages
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Jun 17, 2020
1 parent c6ac042 commit 7b67098
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.ui.flashed.message {
margin-top: 0;
border-radius: 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{%- block messages %}
{%- for category, msg in get_flashed_messages(with_categories=True) %}
{%- set category = 'info' if category not in ['info', 'error', 'warning', 'success'] else category %}
<div class="ui {{ category }} message">
<div class="ui {{ category }} flashed message">
<div class="container">
<p>{{ msg }}</p>
</div>
Expand Down

0 comments on commit 7b67098

Please sign in to comment.