Support canvas scaling with window

This commit is contained in:
-
2018-01-15 12:53:14 +01:00
parent ddf6c65d00
commit 493a67e6d5

View File

@ -58,7 +58,7 @@
div.emscripten_border { border: 1px solid black; } div.emscripten_border { border: 1px solid black; }
/* the canvas *must not* have any border or padding, or mouse coords will be wrong */ /* 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 { #emscripten_logo {
display: inline-block; display: inline-block;