chore: improves read-only styling of all react-selects

This commit is contained in:
James
2022-10-11 11:46:44 -04:00
parent f6b19e074c
commit ee83a50ea9
3 changed files with 6 additions and 18 deletions

View File

@@ -116,4 +116,8 @@ div.react-select {
background-color: var(--theme-error-200);
}
}
}
&.rs--is-disabled .rs__control {
background: var(--theme-elevation-200);
}
}

View File

@@ -22,12 +22,4 @@
background-color: var(--theme-error-500);
color: var(--theme-elevation-0);
}
&--read-only {
div.react-select {
div.rs__control {
background: var(--theme-elevation-100);
}
}
}
}

View File

@@ -3,12 +3,4 @@
.field-type.select {
position: relative;
margin-bottom: $baseline;
}
.select--read-only {
div.react-select {
div.rs__control {
background: var(--theme-elevation-100);
}
}
}
}