From 1c29248f9f30674a99fe4d666ae0d35e19418503 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Fri, 2 Jun 2023 14:33:24 -0400 Subject: [PATCH] Fix bug --- src/styles/Home.css | 6 +++++- src/styles/Layout.css | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/styles/Home.css b/src/styles/Home.css index 661bc1e..1d75517 100644 --- a/src/styles/Home.css +++ b/src/styles/Home.css @@ -1,6 +1,10 @@ -section > :is(h1, h2) { +main > section > :is(h1, h2) { font-size: 2.5rem; margin: 0; text-align: center; text-transform: uppercase; } + +main > section { + min-height: 80vh; +} diff --git a/src/styles/Layout.css b/src/styles/Layout.css index 6d78fda..b322642 100644 --- a/src/styles/Layout.css +++ b/src/styles/Layout.css @@ -49,7 +49,6 @@ main > section { padding: 2rem; margin: 1rem; width: 90%; - min-height: 80vh; transition: scale 0.2s; }