🐛(react) fix label color on state disabled ( select, input )
When creating LabelledBox we introduced a bug than overrides the label colors when inputs are disabled.
This commit is contained in:
@@ -76,10 +76,8 @@
|
||||
color: var(--c--theme--colors--greyscale-400);
|
||||
border-color: var(--c--theme--colors--greyscale-200);
|
||||
|
||||
.c__input__inner {
|
||||
.c__input, label {
|
||||
color: var(--c--theme--colors--greyscale-600);
|
||||
}
|
||||
.c__input, .labelled-box label {
|
||||
color: var(--c--theme--colors--greyscale-600);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
@@ -153,17 +153,6 @@
|
||||
|
||||
label {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
input {
|
||||
color: var(--c--theme--colors--greyscale-600);
|
||||
background-color: white;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.c__input__inner {
|
||||
.c__input, label {
|
||||
color: var(--c--theme--colors--greyscale-600);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user