diff --git a/src/GridDemo.module.css b/src/GridDemo.module.css index b20a1be9..84b86b5d 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; }