From 721408e21e8a5912093610c94922fe198b89ba0d Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sun, 31 Dec 2023 13:59:28 -0800 Subject: [PATCH] fix: layout consistency --- src/assets/styles/index.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/assets/styles/index.css b/src/assets/styles/index.css index 8681b0f3..22529e16 100644 --- a/src/assets/styles/index.css +++ b/src/assets/styles/index.css @@ -253,7 +253,7 @@ article { .now__topper h2 { font-size: var(--font-size-xl); line-height: 0; - margin-top: 1rem; + margin-top: 0; margin-bottom: 1rem; } @@ -704,6 +704,10 @@ ol li { width: 1.25rem; } +.now__section--header:first-of-type { + margin-top: 0; +} + .now__section--header, article .now__section--header { margin-bottom: 1rem;