Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: horizontal menu in dark & dark #26062

Merged
merged 1 commit into from Aug 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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