Improve style of disabled inputs.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Madeorsk 2024-09-23 15:34:36 +02:00
parent de4018af83
commit bfe01012dc
Signed by: Madeorsk
GPG key ID: 677E51CA765BB79F
2 changed files with 11 additions and 0 deletions

View file

@ -126,6 +126,11 @@ export function DemoApp()
Test password
</PasswordInput>
<label>
Disabled input
<input type={"text"} name={"disabled"} value={"fixed value"} disabled={true} />
</label>
<DatepickerInput value={datetime} onChange={setDatetime}>
Date test
</DatepickerInput>

View file

@ -24,6 +24,12 @@ input, textarea, select
color: var(--neutral);
opacity: 1;
}
&:disabled
{
background: var(--background);
opacity: 0.8;
}
}
textarea