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