Skip to content

Commit 77c5c67

Browse files
authored
fix: Switching between browser tabs can cause illegible text color for config parameter value field (#3010)
1 parent fc2bf6a commit 77c5c67

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/TextInput/TextInput.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
border: 0;
1313
outline: 0;
1414
background: $inputBackgroundColor;
15+
color: #000;
1516
font-size: 16px;
1617
width: 100%;
1718
min-width: calc(var(--modal-min-width) * (1 - var(--modal-label-ratio)));
@@ -20,6 +21,10 @@
2021
vertical-align: top;
2122
resize: both;
2223

24+
&:disabled {
25+
color: $mainTextColor;
26+
}
27+
2328
&:focus {
2429
@include placeholder {
2530
opacity: 0;

0 commit comments

Comments
 (0)