diff --git a/components/menu/style/index.less b/components/menu/style/index.less index dd1ec46bba..e58adc83bf 100644 --- a/components/menu/style/index.less +++ b/components/menu/style/index.less @@ -75,7 +75,7 @@ &-item:hover, &-item-active, - &-submenu-open, + &:not(&-inline) &-submenu-open, &-submenu-active, &-submenu-title:hover { color: @primary-color; @@ -395,7 +395,7 @@ &-dark &-item:hover, &-dark &-item-active, &-dark &-submenu-active, - &-dark &-submenu-open, + &-dark:not(&-inline) &-submenu-open, &-dark &-submenu-selected, &-dark &-submenu:hover, &-dark &-submenu-title:hover {