Open constructit opened 8 years ago
Would it be ok to move the checkbox .collapse-open in front of .collapse-btn? By doing this it is possible to style .collapse-btn based on the open/closed state. For example background color, font weight or an icon as in the following example:
https://jsfiddle.net/mrgiao/2xfuwaLq/
Make sense!
I'll make this change in the next release.
:D
Thanks!
Same goes for radio buttons in the collapse with accordion. Move in front of .collapse-btn:
https://jsfiddle.net/mrgiao/ytxgysxy/
Would it be ok to move the checkbox .collapse-open in front of .collapse-btn? By doing this it is possible to style .collapse-btn based on the open/closed state. For example background color, font weight or an icon as in the following example:
https://jsfiddle.net/mrgiao/2xfuwaLq/