From a8f76360f3c89f015010675be726fc5ce759c727 Mon Sep 17 00:00:00 2001 From: Naman Sood Date: Sat, 14 May 2022 00:17:16 -0400 Subject: [PATCH] fix layout bugs on small mobile (iPhone 5) Signed-off-by: Naman Sood --- css/style.css | 3 ++- css/style.scss | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/css/style.css b/css/style.css index 36a8093..8e572a8 100644 --- a/css/style.css +++ b/css/style.css @@ -50,7 +50,7 @@ body.dark-mode footer { } .main { - height: 100vh; + min-height: 100vh; position: relative; z-index: 10; display: flex; @@ -236,6 +236,7 @@ body.dark-mode footer { z-index: 10; text-align: center; padding: 5rem 2rem 3rem; + background: white; } #contact h1 { font-size: 3.3rem; diff --git a/css/style.scss b/css/style.scss index 2c2879a..16cc191 100644 --- a/css/style.scss +++ b/css/style.scss @@ -64,7 +64,7 @@ body.dark-mode { } .main { - height: 100vh; + min-height: 100vh; position: relative; z-index: 10; display: flex; @@ -280,6 +280,7 @@ body.dark-mode { z-index: 10; text-align: center; padding: 5rem 2rem 3rem; + background: white; h1 { font-size: 3.3rem;