is-layout-flow
gets applied contextually in site editor, causing layout shift
#45590
Labels
[Block] Columns
Affects the Columns Block
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Type] Bug
An existing feature does not function as intended
In the site editor, using a layout involving 3 columns of latest posts, when you click between these three columns, the layout shifts:
This appears to be caused by a margin that is added to inner items between deselected and selected. When inspecting. it becomes clear that a selected column has a
is-layout-flow
CSS class applied to the columnli
item:The class
is-layout-flow
applies some margin to place the inner contents:If this margin is appropriate for the column, it should be applied to all columns, not just the selected one. So far I've been able to reproduce it using only the Columns block, and it may be limited to just that block.
The text was updated successfully, but these errors were encountered: