fix 修复菜单栏有二级菜单和无二级菜单缩进不一致的问题

This commit is contained in:
lau
2025-08-29 17:51:29 +08:00
parent e10ef50288
commit 65da8dfa93

View File

@@ -112,7 +112,7 @@
min-width: calc($base-sidebar-width - 20px) !important;
border-radius: 8px;
height: 45px;
margin: 1px 8px 1px 8px;
margin: 1px 5px 1px 5px;
&:not(.is-active):hover {
background-color: rgba(0, 0, 0, 0.1) !important;
}
@@ -123,7 +123,7 @@
background-color: $base-sub-menu-background !important;
border-radius: 8px;
height: 45px;
margin: 1px 8px 1px 8px;
margin: 1px 5px 1px 5px;
&.is-active {
background-color: var(--el-menu-active-color) !important;
@@ -139,7 +139,7 @@
& .theme-dark .el-menu-item {
border-radius: 8px;
height: 45px;
margin: 1px 8px 1px 8px;
margin: 1px 5px 1px 5px;
&.is-active {
background-color: var(--el-menu-active-color) !important;
@@ -155,7 +155,7 @@
& .el-menu-item {
border-radius: 8px;
height: 45px;
margin: 1px 8px 1px 8px;
margin: 1px 5px 1px 5px;
&.is-active {
background-color: var(--el-menu-active-color) !important;