feat: adjust sidebar positioning and height for improved layout, adding padding for navbar integration

This commit is contained in:
Supra4E8C
2025-12-07 17:45:36 +08:00
parent 3046375b3c
commit 1007dbbf44

View File

@@ -3057,8 +3057,9 @@ input:checked+.slider:before {
.sidebar { .sidebar {
position: fixed; position: fixed;
left: 0; left: 0;
top: var(--navbar-height, 69px); top: 0;
height: calc(100vh - var(--navbar-height, 69px)); height: 100vh;
padding-top: calc(var(--navbar-height, 69px) + 20px);
transform: translateX(-100%); transform: translateX(-100%);
z-index: 150; z-index: 150;
box-shadow: var(--shadow-sm); box-shadow: var(--shadow-sm);
@@ -3110,7 +3111,7 @@ input:checked+.slider:before {
align-items: stretch; align-items: stretch;
gap: 8px; gap: 8px;
height: auto; height: auto;
min-height: var(--navbar-height, 69px); min-height: 60px;
} }
.top-navbar-title { .top-navbar-title {