From eae74d6a78076eea266b49c88205e5d8f4a1627f Mon Sep 17 00:00:00 2001 From: Robert McGovern Date: Tue, 1 Feb 2022 12:01:41 +0000 Subject: [PATCH] redid setting page width/height MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Properly this time. I made the change and checked the page, except I checked the live page not the local test version 🤦 --- FrontendMentor/newbie/order-summary-component/css/style.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/FrontendMentor/newbie/order-summary-component/css/style.css b/FrontendMentor/newbie/order-summary-component/css/style.css index 50c4dbf..37a3e01 100644 --- a/FrontendMentor/newbie/order-summary-component/css/style.css +++ b/FrontendMentor/newbie/order-summary-component/css/style.css @@ -56,7 +56,7 @@ html, body { - height: 100%; + min-height: 100vh; width: 100%; } @@ -68,8 +68,7 @@ body { main { background-image: var(--page-background-img); background-repeat: no-repeat; - min-height: 100%; - + min-height: inherit; display: flex; flex-direction: column; align-items: center;