From bf6de7b0e477a615194c57771e4fa98e0e4a6d94 Mon Sep 17 00:00:00 2001 From: Sebastien DUMETZ Date: Tue, 27 Feb 2024 12:20:10 +0100 Subject: [PATCH] fix min-height for body and main elements --- source/server/templates/layouts/main.hbs | 1 - source/ui/styles/main.scss | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/source/server/templates/layouts/main.hbs b/source/server/templates/layouts/main.hbs index 58940963..957234fa 100644 --- a/source/server/templates/layouts/main.hbs +++ b/source/server/templates/layouts/main.hbs @@ -23,7 +23,6 @@ body{ background: var(--color-background, #343434); position: relative; - min-height: 100vh; width: 100%; padding: var(--nav-height, 44px) 0 0 0; margin: 0; diff --git a/source/ui/styles/main.scss b/source/ui/styles/main.scss index c57da5ca..0e4186b5 100644 --- a/source/ui/styles/main.scss +++ b/source/ui/styles/main.scss @@ -6,18 +6,18 @@ html { color: var(--color-text); } - main{ position: relative; max-width: var(--col-width); margin: auto; color: var(--color-text); - min-height: calc(100vh - var(--nav-height) * 2); + min-height: calc(100vh - var(--nav-height)); padding-top: .67em; } + /* * Notifications styles * (Notifications are slotted, so externally styled)