Open earnaud opened 4 years ago
Add this to your custom.css
:
.panel.title>a {
display: block;
padding: 10px 15px;
margin: -10px -15px;
}
How it works:
It expands the a
tag to fill the entire panel header area, so that clicks anywhere in the header are handled.
Freely inspired issue from: https://stackoverflow.com/questions/19236717/how-to-make-a-bootstrap-accordion-collapse-when-clicking-the-header-div
This issue has been answered and could be easily handled with two new attributes to a
div
inBScollapsePanel()
, like: