Hidden Spaces in Repeater Expand/Collapse

Hi, can you please help me figure out how to remove the hidden spaces from my repeater when I have most all the items in the repeater collapsed? Please see screenshot below. I have tried to replicate the tips in the below link without success.

Screenshot from Site:

Reference link: https://www.wix.com/corvid/forum/community-discussion/how-to-expanding-collapsing-repeater-text-that-doesn-t-leave-blank-spaces

Can you please provide a piece of code that is used on a page and also a link to your site, so we can look into it?

Thank you Angelina! In my effort to clean a few items up to share with you, I realized that the formatting issue only exists in the editor mode and not the published version! For this reason, I’ll revisit this issue only if it becomes an issue in the published version!

Best,
Greg