fix(theme-chalk): [menu] the popup menu has 2px border at the bottom (#13695)

This commit is contained in:
qiang 2023-07-22 19:52:09 +08:00 committed by GitHub
parent 9900f2aaeb
commit a434afd739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,9 +76,12 @@
@include m(horizontal) {
display: flex;
flex-wrap: nowrap;
border-bottom: solid 1px getCssVar('menu-border-color');
border-right: none;
&.#{$namespace}-menu {
border-bottom: solid 1px getCssVar('menu-border-color');
}
& > .#{$namespace}-menu-item {
display: inline-flex;
justify-content: center;
@ -93,11 +96,6 @@
a:hover {
color: inherit;
}
&:not(.is-disabled):hover,
&:not(.is-disabled):focus {
background-color: #fff;
}
}
& > .#{$namespace}-sub-menu {
&:focus,