2
0
Эх сурвалжийг харах

Support canvas scaling with window

- 7 жил өмнө
parent
commit
493a67e6d5

+ 1 - 1
templates/web_shell/shell.html

@@ -58,7 +58,7 @@
       div.emscripten_border { border: 1px solid black; }
       
       /* the canvas *must not* have any border or padding, or mouse coords will be wrong */
-      canvas.emscripten { border: 0px none; background: black; }
+      canvas.emscripten { border: 0px none; background: black; width: 100% }
       
       #emscripten_logo {
         display: inline-block;