fix(theme-chalk): [menu] optimize the SubMenu title style (#10828)

closed #10591, #10592
This commit is contained in:
qiang
2022-12-01 23:49:20 +08:00
committed by GitHub
parent 33ca7ee4f0
commit 3fa314f2c3

View File

@@ -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 {