Commit 58138613 authored by 杨奕's avatar 杨奕 Committed by GitHub

Tabs: fix text color for disabled border-card (#10640)

parent 064831de
...@@ -163,7 +163,9 @@ ...@@ -163,7 +163,9 @@
if (visibility === 'hidden') { if (visibility === 'hidden') {
this.focusable = false; this.focusable = false;
} else if (visibility === 'visible') { } else if (visibility === 'visible') {
setTimeout(() => {
this.focusable = true; this.focusable = true;
}, 50);
} }
}, },
windowBlurHandler() { windowBlurHandler() {
......
...@@ -227,6 +227,9 @@ ...@@ -227,6 +227,9 @@
&:not(.is-disabled):hover { &:not(.is-disabled):hover {
color: $--color-primary; color: $--color-primary;
} }
&.is-disabled {
color: $--disabled-color-base;
}
} }
} }
@include m((top, bottom)) { @include m((top, bottom)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment