Fix menu item's clickable region in dark theme (#10187)

* remove redundant style for submenu

* Fix menu item's clickable region in dark theme
This commit is contained in:
Jiabin Peng 2018-04-23 00:31:36 +08:00 committed by 偏右
parent 8ab4aeb9c4
commit bb720aaab9
2 changed files with 13 additions and 9 deletions

View File

@ -33,6 +33,10 @@
border-bottom: 0;
}
&-dark&-horizontal > &-item > a:before {
bottom: 0;
}
&-dark &-item,
&-dark &-item-group-title,
&-dark &-item > a {

View File

@ -277,8 +277,9 @@
border-bottom: 2px solid @menu-highlight-color;
color: @menu-highlight-color;
}
}
> a {
> .@{menu-prefix-cls}-item > a {
display: block;
color: @menu-item-color;
&:hover {
@ -288,7 +289,6 @@
bottom: -2px;
}
}
}
&:after {
content: "\20";