mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 18:56:15 -04:00
fix: form helper text
This commit is contained in:
parent
641483e42c
commit
25b505e206
10 changed files with 16 additions and 16 deletions
|
@ -1404,17 +1404,17 @@ textarea[aria-invalid] {
|
|||
background-size: 1rem var(--pico-icon-height) !important;
|
||||
}
|
||||
|
||||
:where(input, select, textarea) + small {
|
||||
:where(input, select, textarea, fieldset) + small {
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: calc(var(--pico-spacing) * -0.75);
|
||||
margin-bottom: var(--pico-spacing);
|
||||
color: var(--pico-muted-color);
|
||||
}
|
||||
:where(input, select, textarea)[aria-invalid=false] + small {
|
||||
:where(input, select, textarea, fieldset)[aria-invalid=false] + small {
|
||||
color: var(--pico-ins-color);
|
||||
}
|
||||
:where(input, select, textarea)[aria-invalid=true] + small {
|
||||
:where(input, select, textarea, fieldset)[aria-invalid=true] + small {
|
||||
color: var(--pico-del-color);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue