From 3273d66412bdbec255d1e16fd1d80b80a42e5a07 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 6 Apr 2023 15:05:31 +0200 Subject: [PATCH] Fix navigation for small screens Signed-off-by: Ferdinand Thiessen --- assets/css/responsiveness.scss | 4 ++-- assets/css/theme.scss | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/css/responsiveness.scss b/assets/css/responsiveness.scss index 94ac356..233776b 100644 --- a/assets/css/responsiveness.scss +++ b/assets/css/responsiveness.scss @@ -11,8 +11,8 @@ top: 0px; left: 0px; flex-wrap: wrap; - max-width: 100vw; - width: fit-content; + flex-direction: row; + width: 100vw; z-index: 99999; background: var(--color-background); border-radius: 0; diff --git a/assets/css/theme.scss b/assets/css/theme.scss index 614aacf..d935894 100644 --- a/assets/css/theme.scss +++ b/assets/css/theme.scss @@ -120,6 +120,7 @@ body { border-radius: 0 25px 20px 0; padding: 1em 1.5em; display: none; + flex-direction: column; position: fixed; top: 40px; z-index: 99999;