From dbc3d0ab349600f8ffb6d558dee33634d97a6970 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Sat, 25 Nov 2023 23:15:49 +0100 Subject: [PATCH] Stop content in main from streatching when as grid. --- assets/sass/layouts/_layouts.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/sass/layouts/_layouts.scss b/assets/sass/layouts/_layouts.scss index 20f11c3..f160cdb 100644 --- a/assets/sass/layouts/_layouts.scss +++ b/assets/sass/layouts/_layouts.scss @@ -51,6 +51,8 @@ minmax(var(--gutters), 1fr) [stretch-end]; // stylelint-enable function-name-case padding-inline: 0; + // Stop content in main from streatching. + height: fit-content; & > :not(.breakout, .stretch) { grid-column: content;