From c5853ba6889c70e67e5b000b75f278dc2bf34ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hrachovina?= Date: Fri, 6 Dec 2024 11:00:17 +0100 Subject: [PATCH] detailing added smooth transition, removed messages on login page, minor detail fixes --- web/static/css/style.css | 4 ++++ web/templates/edit_user.html | 1 - web/templates/home.html | 14 ++++++++++---- web/templates/login.html | 7 ------- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/web/static/css/style.css b/web/static/css/style.css index 178ea82..0e5e9a1 100644 --- a/web/static/css/style.css +++ b/web/static/css/style.css @@ -4,6 +4,10 @@ box-sizing: border-box; } +html { + scroll-behavior: smooth; +} + /* Body styling */ body { font-family: Arial, sans-serif; diff --git a/web/templates/edit_user.html b/web/templates/edit_user.html index 7c9c9f4..641c823 100644 --- a/web/templates/edit_user.html +++ b/web/templates/edit_user.html @@ -27,7 +27,6 @@
-

Editovat Uživatele

diff --git a/web/templates/home.html b/web/templates/home.html index 59d9f5d..356c515 100644 --- a/web/templates/home.html +++ b/web/templates/home.html @@ -39,10 +39,10 @@ {% endif %}
@@ -142,5 +142,11 @@
+ + diff --git a/web/templates/login.html b/web/templates/login.html index 47f6d5b..b9e32ea 100644 --- a/web/templates/login.html +++ b/web/templates/login.html @@ -9,13 +9,6 @@

Přihlášení

- {% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} -
    -
  • {{ messages[-1][1] }}
  • -
- {% endif %} - {% endwith %}