From 3b35b1e4ee0943b9b12fc3ca6537dacca88ee6b8 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Thu, 5 Nov 2020 17:48:05 +0100 Subject: [PATCH] Overflow fix --- sass/style.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index be89381..cad976e 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -17,6 +17,7 @@ body { flex-direction: column; align-items: center; line-height: 1.8; + overflow-x: hidden; } nav ul { @@ -49,7 +50,7 @@ header { justify-content: space-around; padding: 4em 0; max-width: 100em; - width: 100vw; + width: 100%; img { max-height: 7em; @@ -67,6 +68,7 @@ header { main { text-align: center; margin-bottom: 5em; + max-width: 40em; h1, h2 { margin-top: 2em; @@ -125,7 +127,7 @@ footer { justify-content: center; padding: 1em; margin-top: auto; - width: 100vw; + width: 100%; p { border-left: 1px solid #fff;