Your issue relates to making a text block grow in height with its content while keeping the "hide text" button positioned consistently, likely below or overlapping the text block.
div block
).To prevent the button from being pushed by changing text height:
Option A: Absolute Positioning
Select the "hide text" button.
Set Position: Absolute.
Set the parent container to Position: Relative.
Use bottom: 0px (or your desired offset) to pin the button to the bottom of its container, regardless of content height.
Option B: Flex Layout (Vertical)
Set the parent container to Display: Flex, Direction: Vertical (Column).
Place the text block as the first child and the button second.
For the button, set Margin Top: Auto to push it to the bottom of the container.
If the text block height changes due to toggling (e.g. expand/collapse), add:
Transition: Height
in the Style panel).Set the text block’s height to Auto so it grows with content. Then use Absolute positioning (with a Relative parent) or a Flex layout with Margin Auto to keep the “hide text” button anchored and unaffected by changes in the block height.