From 9f395820cd9d17e077562f731c4641187ad45644 Mon Sep 17 00:00:00 2001 From: Sainan Date: Wed, 29 May 2024 07:00:01 +0200 Subject: [PATCH] improve(webui): Keep sidebar visible when scrolling --- static/webui/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/webui/style.css b/static/webui/style.css index ac9bf2a1..109802b4 100644 --- a/static/webui/style.css +++ b/static/webui/style.css @@ -5,6 +5,12 @@ gap: 1.5rem; } + body.logged-in #sidebar { + position: sticky; + top: 5rem; + height: 100px; + } + body:not(.logged-in) #sidebar { display: none; }