侧边滚动
This commit is contained in:
@@ -140,6 +140,8 @@ const handleMenuSelect = () => {
|
|||||||
border: none;
|
border: none;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
flex: 1 1 0%;
|
flex: 1 1 0%;
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-menu:not(.el-menu--collapse) {
|
.sidebar-menu:not(.el-menu--collapse) {
|
||||||
@@ -204,6 +206,8 @@ const handleMenuSelect = () => {
|
|||||||
height: calc(100vh - 60px);
|
height: calc(100vh - 60px);
|
||||||
transform: translateX(-100%);
|
transform: translateX(-100%);
|
||||||
transition: transform 0.3s ease;
|
transition: transform 0.3s ease;
|
||||||
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile-sidebar.sidebar-open {
|
.mobile-sidebar.sidebar-open {
|
||||||
|
|||||||
Reference in New Issue
Block a user