generateblocks icon indicating copy to clipboard operation
generateblocks copied to clipboard

Query loop container does not have equal heights when a grid is inside it

Open quantumleap33 opened this issue 2 years ago • 3 comments

Description

Query loop container grid does not have equal heights when a grid is inside it.

Steps to reproduce

  1. Create a query loop and insert a two-column grid.
  2. Make the left column a dynamic background image and insert a dynamic title and post date on the right column.

Expected behavior

Loop containers should have equal heights since Vertical Alignment is set to Default.

Actual behavior

Loop containers have uneven heights dictated by the content on the right column.

References:

Example code here.


quantumleap33 avatar Jul 05 '22 18:07 quantumleap33

@quantumleap33 do you mean this space ?

Screenshot 2022-07-11 at 17 23 35

diggeddy avatar Jul 11 '22 16:07 diggeddy

@diggeddy Yeah.

quantumleap33 avatar Jul 11 '22 16:07 quantumleap33

The same would happen with a static grid inside another grid. Flexbox items can only 'auto' maintain the same height as each other if they are in the same flexbox row. To fix that would require some additional flexbox properties to force them to fill their parent columns.

diggeddy avatar Jul 12 '22 09:07 diggeddy

It seems this is solved by the new flexbox controls.

JeanPaiva avatar Jan 12 '23 02:01 JeanPaiva