From 4270c6f1142f05c23d99a17c4d4010dcd411e2f0 Mon Sep 17 00:00:00 2001 From: Victor Fernandez de Alba Date: Wed, 28 Jun 2023 13:35:36 +0200 Subject: [PATCH] CSS adjustments for core grid --- src/theme/_layout.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/theme/_layout.scss b/src/theme/_layout.scss index a383d996..51803577 100644 --- a/src/theme/_layout.scss +++ b/src/theme/_layout.scss @@ -228,13 +228,17 @@ footer { // Grids adjustments (has to be paired with collections/grid.variables) // TODO: Move to our own grid component .block.__grid .ui.stackable, -.block.__grid h2.headline { +.block.__grid h2.headline, +.block.gridBlock .ui.stackable, +.block.gridBlock .grid-items, +.block.gridBlock h2.headline { @include default-container-width(); max-width: calc(var(--default-container-width) + 1rem); } // Fix for Image Grid with only one image -#page-document .block.__grid .block.image.align.center figure { +#page-document .block.__grid .block.image.align.center figure, +#page-document .block.gridBlock .block.image.align.center figure { max-width: unset; }