fix: adjust sidebar positioning in layout.scss for improved responsiveness and visual consistency

This commit is contained in:
Supra4E8C
2025-12-09 19:07:52 +08:00
parent 18b1adb4e2
commit d8f540cdb1

View File

@@ -184,6 +184,7 @@
flex: 1;
min-height: 0;
overflow: hidden;
position: relative;
}
.sidebar {
@@ -197,8 +198,6 @@
transition: width $transition-normal, transform $transition-normal;
overflow-y: auto;
flex-shrink: 0;
position: sticky;
top: 0;
height: calc(100vh - 57px); // 减去顶栏高度
&.collapsed {