setPanelHeight should account for margins of inner elements. #13
Labels
enhancement
feature request
A request for a new feature
help wanted
next release
This improvement /feature/fix will be included in the next release
Expected Behavior
setPanelHeight
should account for margins of inner elements.Current Behavior
setPanelHeight
does not account for margins of inner elements.This may be an opinionated position that you disagree with, but out of the box, throwing a paragraph into
.js-badger-accordion-panel-inner
, the height calculation does not account for the paragraphs margin.Three possible solutions:
.js-badger-accordion-panel-inner
styled inline-block with a width of 100%.Digging the plugin so far, so thanks for sharing it with the world!
The text was updated successfully, but these errors were encountered: