Tabs not collapsing

I have a few pages that have tabs (i used the standard bubble tab element and adapted from there - bigger height, etc).

I can’t figure out how to get rid of all the white space that appears on each tab underneath where each tab’s content ends.

What’s the best way to approach tabs?

  • i tried making each tab a different height and ticking the collapse when hidden box but they don’t seem to collapse and so i still end up with lots of white space on the surrounding group that holds all the tabs but i want it to shorten if the tabs it contains are hidden.

  • i also tried adding an invisible group that collapses and it worked collapsing tabs on one page but not the others and I’m not sure why

Here is a screenshot of what the user sees in terms of all the white space