From 493a67e6d5847879c3ce0a4b8975d0c3d6270a74 Mon Sep 17 00:00:00 2001 From: - <-> Date: Mon, 15 Jan 2018 12:53:14 +0100 Subject: [PATCH] Support canvas scaling with window --- templates/web_shell/shell.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/web_shell/shell.html b/templates/web_shell/shell.html index de3fde456..4dfefb8d9 100644 --- a/templates/web_shell/shell.html +++ b/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;