From 319a082940ea226da6e351217e71c278ec76157a Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 23 Mar 2024 03:52:13 +0800 Subject: [PATCH] refactor(post): reduce the margin between title and description --- _sass/addon/commons.scss | 1 - _sass/layout/post.scss | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index f2e7ba6..c921619 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -369,7 +369,6 @@ main { h1 { margin-top: 2rem; - margin-bottom: 1.5rem; } p { diff --git a/_sass/layout/post.scss b/_sass/layout/post.scss index fe96058..112541d 100644 --- a/_sass/layout/post.scss +++ b/_sass/layout/post.scss @@ -38,6 +38,10 @@ header { } } } + + h1 + .post-meta { + margin-top: 1.5rem; + } } .post-tail-wrapper {