Skip to content

Commit

Permalink
fix: horizontal menu in dark & dark
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Aug 6, 2020
1 parent 53ef8be commit a8d7497
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions components/menu/style/dark.less
Expand Up @@ -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;
}
Expand Down
16 changes: 8 additions & 8 deletions components/menu/style/index.less
Expand Up @@ -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;
}
}
}

Expand All @@ -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 {
Expand Down

0 comments on commit a8d7497

Please sign in to comment.