diff --git a/tildes/scss/modules/_text.scss b/tildes/scss/modules/_text.scss index ca03d94..e347c22 100644 --- a/tildes/scss/modules/_text.scss +++ b/tildes/scss/modules/_text.scss @@ -27,8 +27,8 @@ margin-top: 2rem; } - // smaller margin when an h2 is directly after an h1 - h1 + h2 { + // smaller margin when two large headers are sequential + h1 + h1, h1 + h2, h2 + h2 { margin-top: 1rem; }