fix: fix the problem of collapsed display when the menu has no child nodes

This commit is contained in:
vben
2020-10-22 22:39:40 +08:00
parent 88de82c493
commit 5cff73bcaf
2 changed files with 33 additions and 35 deletions

View File

@@ -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();
}
}
}