Layout not respected when changing the text style

Hello.

I have a screen with headings and paragraphs, each pair grouped with a vertical layout, all rapped in a group with a vertical layout. If I change the text style of the first heading (from h4 to h1 for example), the top and bottom paddings of the heading change, thus not observing the vertical layout selected.


1 Like

Hey @ianas

Sorry about the late reply. Indeed, I was able to reproduce this issue. Currently, the only way to keep the paddings you’ve set is to manually enter the text size and line height, which, of course, is not ideal.

I’ll share the report with the team so they can look into it

Hi @ianas,

This will be fixed with the upcoming Stack layout feature! Here’s a quick video where you can see how it’ll work.

Stack layout is not yet available on beta, that’ll happen in early 2025 and we’ll post it here in the forum as soon as it’s available.

1 Like

:rocket: Stacks!