Forum Academy Marketplace Showcase Pricing Features

Collapse group's height

Hi Guys,

How to move a group downwards, when the height of the top group is increased?

I have 2 groups showing users info. However, I hide each of them according to page width. So if the page with is less than 768 it shows group as a vertical card & if the page width is more than 768 show a horizontal card.

But the issues is when vertical card is displayed, it over laps group stacked below it. How can if make its height and position adaptive, that if vertical card is displayed it moves further down. Note - Collapse elements height is checked