From 5cff73bcafc27a36f111949d33f463dd2bb52571 Mon Sep 17 00:00:00 2001 From: vben <anncwb@126.com> Date: 星期四, 22 十月 2020 22:39:40 +0800 Subject: [PATCH] fix: fix the problem of collapsed display when the menu has no child nodes --- src/components/Menu/src/index.less | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Menu/src/index.less b/src/components/Menu/src/index.less index e6fcec7..74fce6c 100644 --- a/src/components/Menu/src/index.less +++ b/src/components/Menu/src/index.less @@ -248,15 +248,15 @@ } &.ant-menu-inline-collapsed { - .ant-menu-submenu-selected, - .ant-menu-item-selected { - .active-style(); - } - .ant-menu-item-selected { background: unset !important; box-shadow: none; } + + .ant-menu-submenu-selected, + .ant-menu-item-selected { + .active-style(); + } } } -- Gitblit v1.8.0