From 2b7104d5e2f6d6649a2ef3ef0ea7b20bdaf44636 Mon Sep 17 00:00:00 2001 From: Jessica Hamilton Date: Wed, 21 Aug 2024 11:13:09 +0000 Subject: [PATCH] haikumodern: main auto rows should be min-content. Otherwise on pages where the content is less than a full page, the spacing gets messy. Using min-content acts similar to normal block flow, fixing the issue. --- theme/haikumodern/static/haikumodern.css.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/haikumodern/static/haikumodern.css.jinja b/theme/haikumodern/static/haikumodern.css.jinja index be9ffb8..58bb2cd 100644 --- a/theme/haikumodern/static/haikumodern.css.jinja +++ b/theme/haikumodern/static/haikumodern.css.jinja @@ -221,8 +221,8 @@ main { overflow-x: clip; display: grid; - grid-template-rows: 1fr; grid-template-columns: subgrid; + grid-auto-rows: min-content; margin: 0; padding-left: 1em; padding-right: 1em;