- Status changed to RTBC
about 1 month ago 5:16pm 22 May 2024 - πΊπΈUnited States emerham
I have been using this patch in Production for 2 years now. No complaints or issues. I added some CSS to our theme to make blocks placed in the columns have equal height when selecting the "Stretch" option. Feel free to critique it.
// Make the columns truly "stretch" when placing blocks. .align-items-stretch { &.layout-builder__layout { > div[class*=col] { display: flex; flex-direction: column; > div[class*="block-"] { display: flex; flex: 1 0 auto; flex-direction: column; > div.block__content { display: flex; flex: 1 0 auto; flex-direction: column; > div { flex: 1 0 auto; } } } } } }