设置左边栏的min-width:120px

This commit is contained in:
luk.lu
2019-01-12 19:59:58 +08:00
parent 57c777e1da
commit 1e02a63d1c

View File

@@ -101,7 +101,7 @@ export default {
display: flex; display: flex;
$sideWidth: 260px; $sideWidth: 240px;
$headerHeight: 64px; $headerHeight: 64px;
.side-menus { .side-menus {
&.collapsed { &.collapsed {
@@ -109,6 +109,7 @@ export default {
} }
width: $sideWidth; width: $sideWidth;
min-width: 120px;
background: url('../assets/images/bg.jpg') center; background: url('../assets/images/bg.jpg') center;
background-size: cover; background-size: cover;
overflow-y: auto; overflow-y: auto;