From c84b222a24dc4894b349e493a3571203779cdaee Mon Sep 17 00:00:00 2001 From: steevLP Date: Sun, 24 Jan 2021 00:56:15 +0100 Subject: [PATCH] additional tweks for h tag margin overflow fix --- dist/ef19487056b129c8f3eda17f9543ab70.css | 5 +++-- dist/index.html | 2 +- src/index.html | 2 +- src/scss/main.sass | 3 ++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/dist/ef19487056b129c8f3eda17f9543ab70.css b/dist/ef19487056b129c8f3eda17f9543ab70.css index 4d33d94..0e71528 100644 --- a/dist/ef19487056b129c8f3eda17f9543ab70.css +++ b/dist/ef19487056b129c8f3eda17f9543ab70.css @@ -10,7 +10,7 @@ body { main { z-index: 980; position: relative; - top: 5em; } + top: 5.5em; } h1 { margin: 10px; } @@ -149,7 +149,8 @@ header { z-index: 999; width: 100%; height: auto; - top: 0; } + top: 0; + padding: 10px; } .nav-toggle { display: none; } diff --git a/dist/index.html b/dist/index.html index c255235..97d7fcf 100644 --- a/dist/index.html +++ b/dist/index.html @@ -24,7 +24,7 @@
-
+

CSS Grid

12

diff --git a/src/index.html b/src/index.html index b85500c..3754f38 100644 --- a/src/index.html +++ b/src/index.html @@ -24,7 +24,7 @@
-
+

CSS Grid

12

diff --git a/src/scss/main.sass b/src/scss/main.sass index 7975ccb..f461431 100644 --- a/src/scss/main.sass +++ b/src/scss/main.sass @@ -13,7 +13,7 @@ body main z-index: 980 position: relative - top: 5em + top: 5.5em // header classes margin fix @for $i from 1 through 12 h#{$i} @@ -52,6 +52,7 @@ header width: 100% height: auto top: 0 + padding: 10px .nav-toggle display: none .nav-toggle-label