diff --git a/components/menu/style/index.less b/components/menu/style/index.less index d39012749c..1b3c004300 100644 --- a/components/menu/style/index.less +++ b/components/menu/style/index.less @@ -279,14 +279,19 @@ } } - > .@{menu-prefix-cls}-item > a { - display: block; - color: @menu-item-color; - &:hover { - color: @menu-highlight-color; + > .@{menu-prefix-cls}-item { + > a { + display: block; + color: @menu-item-color; + &:hover { + color: @menu-highlight-color; + } + &:before { + bottom: -2px; + } } - &:before { - bottom: -2px; + &-selected > a { + color: @menu-highlight-color; } }