mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
fix(menu): menu-item has :active background-color when horizionta or collapsed
This commit is contained in:
parent
8d08f380f5
commit
2bbafbd13a
@ -33,12 +33,12 @@
|
||||
}
|
||||
@include b(menu-item) {
|
||||
margin: 0;
|
||||
@include m(selected) {
|
||||
@include once {
|
||||
&::after {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
@include once {
|
||||
&::after {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
@include m(selected) {
|
||||
@include b(menu-item-content) {
|
||||
border-bottom: 2px solid $--menu-horizontal-border-color;
|
||||
}
|
||||
@ -66,11 +66,9 @@
|
||||
@include m(collapsed) {
|
||||
@include b(menu-list) {
|
||||
@include b(menu-item) {
|
||||
@include m(selected) {
|
||||
@include once {
|
||||
&::after {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
@include once {
|
||||
&::after {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user