From 59a8f3f8c0d992d40fbd7bf3b620e9d5218b4b23ee49676abfd4dbc4d8e57834 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson <> Date: Sun, 27 Jul 2025 00:00:00 +0000 Subject: Remove extra space created by Flexbox usage --- assets/static/css/style.css | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'assets/static/css') diff --git a/assets/static/css/style.css b/assets/static/css/style.css index 7bb513b..b902a5c 100644 --- a/assets/static/css/style.css +++ b/assets/static/css/style.css @@ -87,6 +87,16 @@ blockquote, ol, p, pre, ul, .highlight { margin-top: 1.0em; } +.base { + flex-grow: 1; +} + +/* remove extra space caused by Flexbox's lack of margin collapsing */ +article:last-child header p, +.main > :last-child { + margin-bottom: 0; +} + .body { background-color: black; box-sizing: border-box; @@ -162,7 +172,3 @@ blockquote, ol, p, pre, ul, .highlight { overflow-y: hidden; padding: 0; } - -.main { - flex-grow: 1; -} -- cgit v1.2.3