瀏覽代碼

css fix for windows

Gregg Tavares 6 年之前
父節點
當前提交
89b162004c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      threejs/lessons/resources/index.css

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

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