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;