feat: support for dropdown with label

This commit is contained in:
Lucas Larroche 2023-04-09 12:01:33 +07:00
parent 021899557b
commit 4f2f597f9f
4 changed files with 11 additions and 2 deletions

View file

@ -2204,6 +2204,10 @@ details.dropdown[open] summary::before {
cursor: default; cursor: default;
} }
label > details.dropdown {
margin-top: calc(var(--pico-spacing) * 0.25);
}
/** /**
* Group ([role="group"], [role="search"]) * Group ([role="group"], [role="search"])
*/ */

File diff suppressed because one or more lines are too long

2
css/pico.min.css vendored

File diff suppressed because one or more lines are too long

View file

@ -230,4 +230,9 @@
cursor: default; cursor: default;
} }
} }
// Label
//
label > details.dropdown {
margin-top: calc(var(#{$}spacing) * 0.25);
}
} }