try fixing disabled inputs
Some checks are pending
Frontend CI / build (18.x) (push) Waiting to run

This commit is contained in:
IRBorisov 2024-06-10 21:01:33 +03:00
parent c47e5373e2
commit e22da6881c
2 changed files with 6 additions and 2 deletions

View File

@ -159,7 +159,7 @@ function FormConstituenta({
disabled={true}
label='Типизация'
value={typification}
colors='clr-app'
colors='clr-app clr-text-default'
/>
<AnimatePresence>
<AnimateFade key='cst_expression_fade' hideContent={!!state && !state?.definition_formal && isElementary}>

View File

@ -156,9 +156,13 @@
}
}
.clr-text-default {
:is(.clr-text-default, input:disabled, textarea:disabled) {
opacity: 1;
-webkit-text-fill-color: var(--cl-fg-100);
color: var(--cl-fg-100);
.dark & {
opacity: 1;
-webkit-text-fill-color: var(--cd-fg-100);
color: var(--cd-fg-100);
}
}