fix: SideNav 侧边栏不显示,.app-sider 去掉 fixed 改 flex 布局
This commit is contained in:
@@ -5,15 +5,12 @@
|
||||
.app-sider {
|
||||
background: #fff !important;
|
||||
border-right: 1px solid #f0f0f0;
|
||||
position: fixed !important;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 220px;
|
||||
flex: 0 0 220px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.app-main {
|
||||
margin-left: 220px;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user