fix:去除nav组件item选中后的背景样式 (#3073)

Co-authored-by: Qin,Haoyan <qinhaoyan@baidu.com>
This commit is contained in:
qinhaoyan 2021-11-26 19:21:19 +08:00 committed by GitHub
parent e1562c6a8c
commit c3fe0a5d8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,12 +174,6 @@
pointer-events: none;
}
&.active,
&.is-active {
background: var(--Nav-item-onActive-bg) !important;
}
&.active > a,
&.is-active > .#{$ns}Nav-item-atcions,
&.is-active > a,
@ -188,6 +182,7 @@
&.is-active > .#{$ns}Badge > a {
color: var(--Nav-item-onActive-color);
position: relative;
background: var(--Nav-item-onActive-bg);
&::after {
transform: scaleY(1);