about summary refs log tree commit diff
path: root/gn2/wqflask/templates/base_macro.html
diff options
context:
space:
mode:
authorzsloan2024-10-25 16:16:04 +0000
committerzsloan2024-10-25 16:16:04 +0000
commit095a3dcdc799163c0b8af3bac9c0819b5adeb879 (patch)
tree6b5d54114947e175133519b52a414c18955a1592 /gn2/wqflask/templates/base_macro.html
parent05eab16f9e034d99bf74a224eb55b5856a4e7e15 (diff)
downloadgenenetwork2-095a3dcdc799163c0b8af3bac9c0819b5adeb879.tar.gz
Change the way the flash_me functions such that there's no margin
flash_me handles displaying various notifications and error messages (like when you log out, or when you token expires)
Diffstat (limited to 'gn2/wqflask/templates/base_macro.html')
-rw-r--r--gn2/wqflask/templates/base_macro.html8
1 files changed, 3 insertions, 5 deletions
diff --git a/gn2/wqflask/templates/base_macro.html b/gn2/wqflask/templates/base_macro.html
index 7fcb6fe7..4cb8e1b7 100644
--- a/gn2/wqflask/templates/base_macro.html
+++ b/gn2/wqflask/templates/base_macro.html
@@ -1,11 +1,9 @@
 {% macro flash_me() -%}
     {% with messages = get_flashed_messages(with_categories=true) %}
         {% if messages %}
-        <div class="container">
-            {% for category, message in messages %}
-                <div class="alert {{ category }}" role="alert">{{ message }}</div>
-            {% endfor %}
-        </div>
+        {% for category, message in messages %}
+            <div class="alert {{ category }}" role="alert">{{ message }}</div>
+        {% endfor %}
         {% endif %}
     {% endwith %}
 {% endmacro %}