From ced22dfca4783b0ed842b8af6f34555a82bbc237 Mon Sep 17 00:00:00 2001 From: nc Date: Mon, 13 Feb 2023 15:16:03 +0700 Subject: [PATCH] add padding for nav --- src/components/Header/styles.scss | 6 +++++- src/pages/Layout/styles.scss | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/Header/styles.scss b/src/components/Header/styles.scss index 8f62b19..1d9fb39 100644 --- a/src/components/Header/styles.scss +++ b/src/components/Header/styles.scss @@ -1,3 +1,7 @@ +.HeaderBlock { + padding-top: 1em; +} + .LinkText { color: #eeeeee; text-decoration: none; @@ -31,7 +35,7 @@ @media only screen and (min-width: 48em) { .HeaderBlock { - margin-top: 4em; + padding-top: 4em; } } diff --git a/src/pages/Layout/styles.scss b/src/pages/Layout/styles.scss index f75a994..ccfd30a 100644 --- a/src/pages/Layout/styles.scss +++ b/src/pages/Layout/styles.scss @@ -2,8 +2,7 @@ .post { color: white; .HeaderContainer { - text-align: center; - margin-bottom: 4em; + margin-bottom: 2em; } .article { .article-content {