From a1faee7307aff0e676797fb21ea718cfff3503b2 Mon Sep 17 00:00:00 2001 From: filifa Date: Mon, 27 May 2024 17:46:17 -0500 Subject: [PATCH] move the whole grid display to the media query --- styles.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/styles.css b/styles.css index 4dae4f5..d31e42d 100644 --- a/styles.css +++ b/styles.css @@ -5,11 +5,6 @@ html { min-height: 100%; } -body { - display: grid; - place-content: center; -} - dd-header { width: 100%; } @@ -138,6 +133,11 @@ ol ol ol { } @media screen and (min-width: 80ch) { + body { + display: grid; + place-content: center; + } + main { min-width: 100%; display: flex;