diff options
author | Nicholas Johnson <> | 2025-07-27 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <> | 2025-07-27 00:00:00 +0000 |
commit | 59a8f3f8c0d992d40fbd7bf3b620e9d5218b4b23ee49676abfd4dbc4d8e57834 (patch) | |
tree | 8f6e08e7351d3ce3ef0f1b46a7c41155b7eb5b09a1ff2c3c4deabbde3b21b6a9 /assets/static/css/style.css | |
parent | 36199a037c6324e86ca1f0f6d0c43e38fa9ffbd1467de13e29aea7d59cdee9cc (diff) | |
download | hugo-theme-journal-59a8f3f8c0d992d40fbd7bf3b620e9d5218b4b23ee49676abfd4dbc4d8e57834.tar.gz hugo-theme-journal-59a8f3f8c0d992d40fbd7bf3b620e9d5218b4b23ee49676abfd4dbc4d8e57834.zip |
Remove extra space created by Flexbox usage
Diffstat (limited to 'assets/static/css/style.css')
-rw-r--r-- | assets/static/css/style.css | 14 |
1 files changed, 10 insertions, 4 deletions
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; -} |