I'm trying the option of collapse and expand, but that leaves me a huge gap.
I tried to erase all unnecessary things at this page but it still leaves the gap.
I've also reviewed your guide on Page Layout and how it Is Affected When Elements Change Size - but without success. (This is the guide's link: https://support.wix.com/en/article/wix-code-how-page-layout-is-affected-when-elements-change-size)
I've also tried to open a new blank page and placed all the elements from scratch, but the problem still continues.
I've included 2 photos,
One is when the element is expanded - the gallery at the bottom of the page is too close to the footer.
And the second image is when the element is collapsed - where you can see the huge gap beneath the gallery.
Link to editor:
88c479a2106 & referralInfo = dashboard
I would be happy if you could help me to solve the problem.