fix: horizontal menu in dark & dark (#26062)

This commit is contained in:
xrkffgg 2020-08-07 11:14:27 +08:00 committed by GitHub
parent 1ade6da9cd
commit d1d23ac4ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 8 deletions

View File

@ -36,6 +36,10 @@
border-bottom: 0;
}
&-dark&-horizontal > &-item:hover {
background-color: @menu-dark-item-active-bg;
}
&-dark&-horizontal > &-item > a::before {
bottom: 0;
}

View File

@ -350,6 +350,14 @@
padding: @menu-item-padding;
padding-right: 0;
padding-left: 0;
&:hover,
&-active,
&-open,
&-selected {
color: @menu-highlight-color;
border-bottom: 2px solid @menu-highlight-color;
}
}
}
@ -360,14 +368,6 @@
display: inline-block;
vertical-align: bottom;
border-bottom: 2px solid transparent;
&:hover,
&-active,
&-open,
&-selected {
color: @menu-highlight-color;
border-bottom: 2px solid @menu-highlight-color;
}
}
> .@{menu-prefix-cls}-submenu > .@{menu-prefix-cls}-submenu-title {