mirror of https://github.com/ElemeFE/element
Tabs: not change tab color on hover when disabled (#10549)
For tabs of style "border-card", don't set the color property on hover if it is disabled.pull/10551/head
parent
a7e60ea766
commit
2bc4df7863
|
@ -224,7 +224,7 @@
|
||||||
border-right-color: $--border-color-base;
|
border-right-color: $--border-color-base;
|
||||||
border-left-color: $--border-color-base;
|
border-left-color: $--border-color-base;
|
||||||
}
|
}
|
||||||
&:hover {
|
&:not(.is-disabled):hover {
|
||||||
color: $--color-primary;
|
color: $--color-primary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue