fix(components): [sub-menu] style error in collapsed state (#13135)

* fix(components): [sub-menu] style error in collapsed state

* fix(theme-chalk): [menu] optimize

---------

Co-authored-by: tolking <qw13131wang@gmail.com>
This commit is contained in:
也曾为你像超人
2023-10-13 09:34:09 +08:00
committed by GitHub
parent 931beda288
commit 10fb2233f8

View File

@@ -73,6 +73,12 @@
}
}
&:not(.#{$namespace}-menu--collapse) .#{$namespace}-sub-menu__title {
padding-right: calc(
#{getCssVar('menu-base-level-padding')} + #{getCssVar('menu-icon-width')}
);
}
@include m(horizontal) {
display: flex;
flex-wrap: nowrap;
@@ -250,9 +256,6 @@
@include e(title) {
@include menu-item;
padding-right: calc(
#{getCssVar('menu-base-level-padding')} + #{getCssVar('menu-icon-width')}
);
&:hover {
background-color: getCssVar('menu-hover-bg-color');