mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(theme-chalk): [menu] optimize the SubMenu title style (#10828)
closed #10591, #10592
This commit is contained in:
@@ -70,6 +70,13 @@
|
||||
#{getCssVar('menu-level-padding')}
|
||||
);
|
||||
}
|
||||
& .#{$namespace}-sub-menu__title {
|
||||
padding-right: calc(
|
||||
#{getCssVar('menu-base-level-padding')} + #{getCssVar(
|
||||
'menu-icon-width'
|
||||
)}
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -282,7 +289,6 @@
|
||||
& .#{$namespace}-menu-item {
|
||||
height: getCssVar('menu-sub-item-height');
|
||||
line-height: getCssVar('menu-sub-item-height');
|
||||
min-width: 200px;
|
||||
}
|
||||
@include e(hide-arrow) {
|
||||
.#{$namespace}-sub-menu__icon-arrow {
|
||||
|
||||
Reference in New Issue
Block a user