From 39dc6a77df3639be062316922577a42154539737 Mon Sep 17 00:00:00 2001 From: Brittany Chiang Date: Mon, 12 Dec 2022 20:54:36 -0500 Subject: [PATCH] Fix transition --- src/components/sections/hero.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/sections/hero.js b/src/components/sections/hero.js index 04db0f70fe..fef61ffed1 100644 --- a/src/components/sections/hero.js +++ b/src/components/sections/hero.js @@ -9,6 +9,7 @@ const StyledHeroSection = styled.section` flex-direction: column; align-items: flex-start; min-height: 100vh; + height: 100vh; padding: 0; @media (max-width: 480px) and (min-height: 700px) { @@ -16,7 +17,7 @@ const StyledHeroSection = styled.section` } @media (max-height: 650px) { - min-height: auto; + height: auto; padding-top: calc(var(--nav-height) + 30px); }