From 00a1aaea1cfb28e2998d820f8a96fe235c07a26b Mon Sep 17 00:00:00 2001 From: lihang Date: Tue, 23 Feb 2021 11:26:33 +0800 Subject: [PATCH] fix(menu): fix color error --- src/components/menu/style/layout.less | 1 + src/components/menu/style/state.less | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/src/components/menu/style/layout.less b/src/components/menu/style/layout.less index 706e89e0ec..d0c73ae957 100644 --- a/src/components/menu/style/layout.less +++ b/src/components/menu/style/layout.less @@ -21,6 +21,7 @@ & > .@{menu-prefix-cls}-item { display: inline-block; vertical-align: bottom; + border-radius: @radius-border-small; } &::after { diff --git a/src/components/menu/style/state.less b/src/components/menu/style/state.less index d2d17a2882..539ba7658e 100644 --- a/src/components/menu/style/state.less +++ b/src/components/menu/style/state.less @@ -18,6 +18,14 @@ background-color: #f1f2f8; } + &-horizontal &-item&-item-selected { + background-color: #fff; + } + + &-horizontal &-item&-item-active { + background-color: #f1f2f8; + } + &-submenu&-submenu-selected > &-submenu-title { color: @color-text-menu-active; font-weight: @weight-font-medium;