fix: SideNav 侧边栏不显示,.app-sider 去掉 fixed 改 flex 布局

This commit is contained in:
simonkoson
2026-05-22 13:04:45 +08:00
parent 24b9bb2d08
commit f55030b971
+2 -5
View File
@@ -5,15 +5,12 @@
.app-sider { .app-sider {
background: #fff !important; background: #fff !important;
border-right: 1px solid #f0f0f0; border-right: 1px solid #f0f0f0;
position: fixed !important; width: 220px;
left: 0; flex: 0 0 220px;
top: 0;
bottom: 0;
overflow-y: auto; overflow-y: auto;
} }
.app-main { .app-main {
margin-left: 220px;
min-height: 100vh; min-height: 100vh;
} }