fix: 修复更新Naive UI版本后菜单高亮样式失效问题
This commit is contained in:
parent
a9997984d5
commit
9db7aa50a1
@ -98,18 +98,15 @@ function handleMenuSelect(key, item) {
|
||||
.n-menu {
|
||||
margin-top: 10px;
|
||||
padding-left: 10px;
|
||||
.n-menu-item {
|
||||
margin-top: 0;
|
||||
position: relative;
|
||||
.n-menu-item-content {
|
||||
&::before {
|
||||
left: 0;
|
||||
right: 0;
|
||||
border-radius: 0;
|
||||
background-color: unset !important;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&.n-menu-item--selected {
|
||||
&.n-menu-item-content--selected {
|
||||
border-radius: 0 !important;
|
||||
|
||||
&::before {
|
||||
|
Loading…
Reference in New Issue
Block a user