Open LukeFinch opened 3 years ago
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
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