mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2025-12-30 09:52:27 +00:00
fix 修复菜单栏有二级菜单和无二级菜单缩进不一致的问题
This commit is contained in:
@@ -112,7 +112,7 @@
|
|||||||
min-width: calc($base-sidebar-width - 20px) !important;
|
min-width: calc($base-sidebar-width - 20px) !important;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
height: 45px;
|
height: 45px;
|
||||||
margin: 1px 8px 1px 8px;
|
margin: 1px 5px 1px 5px;
|
||||||
&:not(.is-active):hover {
|
&:not(.is-active):hover {
|
||||||
background-color: rgba(0, 0, 0, 0.1) !important;
|
background-color: rgba(0, 0, 0, 0.1) !important;
|
||||||
}
|
}
|
||||||
@@ -123,7 +123,7 @@
|
|||||||
background-color: $base-sub-menu-background !important;
|
background-color: $base-sub-menu-background !important;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
height: 45px;
|
height: 45px;
|
||||||
margin: 1px 8px 1px 8px;
|
margin: 1px 5px 1px 5px;
|
||||||
|
|
||||||
&.is-active {
|
&.is-active {
|
||||||
background-color: var(--el-menu-active-color) !important;
|
background-color: var(--el-menu-active-color) !important;
|
||||||
@@ -139,7 +139,7 @@
|
|||||||
& .theme-dark .el-menu-item {
|
& .theme-dark .el-menu-item {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
height: 45px;
|
height: 45px;
|
||||||
margin: 1px 8px 1px 8px;
|
margin: 1px 5px 1px 5px;
|
||||||
|
|
||||||
&.is-active {
|
&.is-active {
|
||||||
background-color: var(--el-menu-active-color) !important;
|
background-color: var(--el-menu-active-color) !important;
|
||||||
@@ -155,7 +155,7 @@
|
|||||||
& .el-menu-item {
|
& .el-menu-item {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
height: 45px;
|
height: 45px;
|
||||||
margin: 1px 8px 1px 8px;
|
margin: 1px 5px 1px 5px;
|
||||||
|
|
||||||
&.is-active {
|
&.is-active {
|
||||||
background-color: var(--el-menu-active-color) !important;
|
background-color: var(--el-menu-active-color) !important;
|
||||||
|
|||||||
Reference in New Issue
Block a user