fix: SideNav 侧边栏不显示,.app-sider 去掉 fixed 改 flex 布局
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user