From 16d2a241c3bc846519d4b699da581b9d4a6ab589 Mon Sep 17 00:00:00 2001 From: Robert McGovern Date: Tue, 1 Feb 2022 11:34:34 +0000 Subject: [PATCH] redid setting page width/height --- .../newbie/order-summary-component/css/style.css | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/FrontendMentor/newbie/order-summary-component/css/style.css b/FrontendMentor/newbie/order-summary-component/css/style.css index 50c4dbf..e249f67 100644 --- a/FrontendMentor/newbie/order-summary-component/css/style.css +++ b/FrontendMentor/newbie/order-summary-component/css/style.css @@ -54,13 +54,9 @@ /* General Formatting */ -html, body { - height: 100%; width: 100%; -} - -body { + min-height: 100vh; font-family: "Red Hat Display", sans-serif; background-color: var(--clr-pale-blue); } @@ -68,8 +64,6 @@ body { main { background-image: var(--page-background-img); background-repeat: no-repeat; - min-height: 100%; - display: flex; flex-direction: column; align-items: center;