Browse Source

css fix for windows

Gregg Tavares 6 years ago
parent
commit
89b162004c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      threejs/lessons/resources/index.css

+ 2 - 2
threejs/lessons/resources/index.css

@@ -1,13 +1,13 @@
 body {
 body {
   margin: 0;
   margin: 0;
-  width: 100vw;
+  width: 100%;
 }
 }
 .lesson-main>* {
 .lesson-main>* {
     margin: 1em 0;
     margin: 1em 0;
 }
 }
 iframe.background {
 iframe.background {
     position: fixed;
     position: fixed;
-    width: 100vw;
+    width: 100%;
     height: 100vh;
     height: 100vh;
     border: none;
     border: none;
     top: 0;
     top: 0;