on a dynamic page, I have a table on one side, that functions as a clickable index,
and texts on the other side, that are changing accordingly.
Some of the texts are short, and some of them are long.
Once you get to a long one, the strip, naturally, expands to contain the text, but when after a long text comes a shorter one - it does not collapse to the height of the text and a huge empty gap is created.
I've tried to put all text in a container. It seemed to work in some cases, but generally it does not work.
What else can I do? Is there a code to write that can fix it? or is it a bug?
This is an example: