From 1cfb7a6c5de2d9e6cd7641cd79a4bfb740338c85 Mon Sep 17 00:00:00 2001 From: Robert Long <robert@robertlong.me> Date: Tue, 31 Aug 2021 14:07:56 -0700 Subject: [PATCH] Fix grid demo overflow --- src/GridDemo.module.css | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/GridDemo.module.css b/src/GridDemo.module.css index b20a1be..84b86b5 100644 --- a/src/GridDemo.module.css +++ b/src/GridDemo.module.css @@ -1,10 +1,8 @@ .gridDemo { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - overflow: hidden; + position: relative; display: flex; flex-direction: column; + width: 100vw; + height: 100vh; + overflow: hidden; }