fix: <small> tag style under a dropdown

This commit is contained in:
Johann Pardanaud 2024-08-13 14:22:39 +02:00
parent 6dc6489e69
commit a2114c0393
81 changed files with 164 additions and 160 deletions

View file

@ -1528,17 +1528,17 @@ main {
background-size: 1rem var(--pico-icon-height) !important;
}
.pico :where(input, select, textarea, fieldset, .grid) + small {
.pico :where(input, select, textarea, fieldset, .grid, .dropdown) + small {
display: block;
width: 100%;
margin-top: calc(var(--pico-spacing) * -0.75);
margin-bottom: var(--pico-spacing);
color: var(--pico-muted-color);
}
.pico :where(input, select, textarea, fieldset, .grid)[aria-invalid=false] + small {
.pico :where(input, select, textarea, fieldset, .grid, .dropdown)[aria-invalid=false] + small {
color: var(--pico-ins-color);
}
.pico :where(input, select, textarea, fieldset, .grid)[aria-invalid=true] + small {
.pico :where(input, select, textarea, fieldset, .grid, .dropdown)[aria-invalid=true] + small {
color: var(--pico-del-color);
}