From c05ebf585a61d9156faa74df9cccebe33986d679 Mon Sep 17 00:00:00 2001 From: esikkala <esko.ikkala@aalto.fi> Date: Wed, 9 Jun 2021 17:41:08 +0300 Subject: [PATCH] Use 100% for root elements --- src/client/index.css | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/client/index.css b/src/client/index.css index c3b05f83..d3abc131 100644 --- a/src/client/index.css +++ b/src/client/index.css @@ -1,11 +1,9 @@ -body { - margin: 0; +html, body, #root, #app { + height: 100%; } -@media screen and (min-width: 960px) { - html, body, #root, #app { - height: 100%; - } +body { + margin: 0; } fieldset, .opacity-slider { -- GitLab