Layout Grid with Fixed Height: Impact on Block Alignment and Gaps

I have defined a “columns” layout with three columns. Here are the grid settings:

Here is the result:

There is a gap between block #1 and block #2 due to the fixed height set in block #3. If I remove the fixed height in block #3, the gap disappears.
This gap appears wherever a fixed height is set, whether it’s in the column or within a block.

PS: there are no margin and no padding set.

Environment info

  • WordPress version: 6.2.2
  • Gutenberg Plugin version: N/A
  • Cwicly Plugin version: 1.2.9.6.1.1
  • Cwicly Theme version: 1.0.3

Hi @weedor,

Sorry to hear you’re experiencing trouble with this.

While I understand your concern, I think this behaviour is actually by design rather than a bug.

The presence of a gap is a natural outcome when you assign a fixed height to your 3rd column block, as you have configured the other blocks to match the height of the 3rd column.

To avoid this, I would suggest the following layout:

Please let me know if this helps!

1 Like

That’s fine. Everything is running well.
I’ve changed the tag from ‘bug’ to ‘general’.
Thank’s a lot.
Cheers,
Bruno

1 Like