mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 08:45:06 -04:00
![]() Given a dropdown that contains an accordion within it, the accordion renders as a dropdown because the summary selector also selects the children of a dropdown element. This fixes that so it renders as expected. ``` <details class="dropdown"> <summary> Select a phase of matter... </summary> <ul> <li> <details> <summary> This is a dropdown option </summary> <ul> <li><label><input type="radio" name="phase" value="gas"> Gas </label></li> <li><label><input type="radio" name="phase" value="plasma"> Plasma </label></li> </ul> </details> </li> </ul> </details> ``` |
||
---|---|---|
.. | ||
_accordion.scss | ||
_card.scss | ||
_dropdown.scss | ||
_group.scss | ||
_loading.scss | ||
_modal.scss | ||
_nav.scss | ||
_progress.scss | ||
_tooltip.scss |