diff --git a/css/reveal.css b/css/reveal.css index c685926f..c865325a 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -8,14 +8,15 @@ /********************************************* * GLOBAL STYLES *********************************************/ -html, -body { +html { width: 100%; height: 100%; + height: 100vh; height: calc( var(--vh, 1vh) * 100); overflow: hidden; } body { + height: 100%; position: relative; line-height: 1; margin: 0; diff --git a/css/reveal.scss b/css/reveal.scss index 7bec964b..e7d29816 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -11,15 +11,16 @@ * GLOBAL STYLES *********************************************/ -html, -body { +html { width: 100%; height: 100%; + height: 100vh; height: calc( var(--vh, 1vh) * 100 ); overflow: hidden; } body { + height: 100%; position: relative; line-height: 1; margin: 0;