refactor: ♻️ 侧边栏图标对齐和宽度调整

This commit is contained in:
hxr 2023-08-24 00:30:29 +08:00
parent c9faf4636b
commit 9c04d74782
2 changed files with 10 additions and 2 deletions

View File

@ -233,6 +233,7 @@ function toggleSideBar() {
.mix-wrap {
.el-menu {
width: $sideBarWidth;
border: none;
}
}
}

View File

@ -47,7 +47,7 @@
}
.svg-icon {
margin-right: 16px;
margin-right: 12px;
}
.sub-el-icon {
@ -83,6 +83,13 @@
}
}
.left-wrap {
.svg-icon {
margin-top: -2px;
margin-right: 12px;
}
}
.hideSidebar {
.sidebar-container {
width: 54px !important;
@ -174,7 +181,7 @@
.el-menu--vertical {
& > .el-menu {
.svg-icon {
margin-right: 16px;
margin-right: 12px;
}
.sub-el-icon {