From 1007dbbf44a7e7cf1c1c41496954edc38988744c Mon Sep 17 00:00:00 2001 From: Supra4E8C Date: Sun, 7 Dec 2025 17:45:36 +0800 Subject: [PATCH] feat: adjust sidebar positioning and height for improved layout, adding padding for navbar integration --- styles.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/styles.css b/styles.css index be633e2..ed40361 100644 --- a/styles.css +++ b/styles.css @@ -3057,8 +3057,9 @@ input:checked+.slider:before { .sidebar { position: fixed; left: 0; - top: var(--navbar-height, 69px); - height: calc(100vh - var(--navbar-height, 69px)); + top: 0; + height: 100vh; + padding-top: calc(var(--navbar-height, 69px) + 20px); transform: translateX(-100%); z-index: 150; box-shadow: var(--shadow-sm); @@ -3110,7 +3111,7 @@ input:checked+.slider:before { align-items: stretch; gap: 8px; height: auto; - min-height: var(--navbar-height, 69px); + min-height: 60px; } .top-navbar-title {