From 91f151b9b7bcdfda8eb1a9b10e350e91aeb3be13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=A9fir=20Destiny?= Date: Sun, 15 Dec 2019 18:34:20 +0100 Subject: [PATCH] Css fix --- static/css/styles.css | 5 ++--- templates/admin/list.html | 10 +++++----- templates/layout.html | 14 +++++++------- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/static/css/styles.css b/static/css/styles.css index d7fc8ee..2f0e681 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -3,7 +3,7 @@ section { padding-top: 2rem !important; } -nav, nav > div, nav form { +nav, nav > div { display: flex; align-items: center; } @@ -91,7 +91,6 @@ label.checkbox { } #quick_scroll { - float: right; margin-bottom: 1rem; } @@ -100,7 +99,7 @@ label.checkbox { } @media screen and (min-width: 1088px) { - .tooltip:hover::before, .tooltip:hover::after { + [data-tooltip]:hover::before, [data-tooltip]:hover::after { display: none !important; } } diff --git a/templates/admin/list.html b/templates/admin/list.html index 25cd74c..9406f1a 100644 --- a/templates/admin/list.html +++ b/templates/admin/list.html @@ -1,19 +1,19 @@ {% extends "layout.html" %} {% block title %}Admin List{% endblock %} {% block add_button %} - +  Add entry {% endblock %} {% block body %} -

- Quick Scroll : +

+ Quick Scroll : {% for folder in folders %} {% if loop.index0 %} - {{ folder.name }} + {{ folder.name }} {% endif %} {% endfor %} -

+
diff --git a/templates/layout.html b/templates/layout.html index 4a5feac..ad34bc2 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -16,28 +16,28 @@