Skip to content

Allow nesting disclosures#42

Open
LukeFinch wants to merge 1 commit intothomas-lowry:masterfrom
LukeFinch:master
Open

Allow nesting disclosures#42
LukeFinch wants to merge 1 commit intothomas-lowry:masterfrom
LukeFinch:master

Conversation

@LukeFinch
Copy link

@LukeFinch LukeFinch commented Dec 18, 2020

Previously expanding a disclosure would make all children content inherit the "expanded" class modifier.
This PR changes the disclosure styling so that only its child will get the "display: block" expanded modifier.

An example codepen is here: https://codepen.io/lcfinch/pen/qBajYNM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant