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
Jeremy Studer 2018-04-03 22:45:42 -04:00 committed by 杨奕
parent a7e60ea766
commit 2bc4df7863
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }
} }