From ee9eb5ddf59b0b00bb0fd33c8b67808262f2e841 Mon Sep 17 00:00:00 2001 From: Lanius Trolling Date: Sat, 2 Mar 2024 16:28:25 -0500 Subject: [PATCH] Fix navbar and sidebar on short pages --- src/jvmMain/resources/static/style.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/jvmMain/resources/static/style.css b/src/jvmMain/resources/static/style.css index 412ab35..af0ac50 100644 --- a/src/jvmMain/resources/static/style.css +++ b/src/jvmMain/resources/static/style.css @@ -553,21 +553,21 @@ aside.mobile img { nav.desktop { width: 12vw; - float: left; - margin: 0 2vw; + margin: 2vh 2vw; - position: sticky; - top: 2vh; + position: fixed; + top: 0; + left: 0; max-height: 96vh; } aside.desktop { width: 12vw; - float: right; - margin: 0 2vw; + margin: 2vh 2vw; - position: sticky; - top: 2vh; + position: fixed; + top: 0; + right: 0; max-height: 96vh; } -- 2.25.1