mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 11:17:46 +08:00
fix(theme-chalk): [menu] the popup menu has 2px border at the bottom (#13695)
This commit is contained in:
parent
9900f2aaeb
commit
a434afd739
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user