summaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
author- <->2018-01-15 12:53:14 +0100
committer- <->2018-01-15 12:53:14 +0100
commit493a67e6d5847879c3ce0a4b8975d0c3d6270a74 (patch)
treee46363fb56c6c4b218307b69696c904259b75320 /templates
parentddf6c65d00fb956dbec407a09d217ffee491b731 (diff)
downloadraylib-493a67e6d5847879c3ce0a4b8975d0c3d6270a74.tar.gz
raylib-493a67e6d5847879c3ce0a4b8975d0c3d6270a74.zip
Support canvas scaling with window
Diffstat (limited to 'templates')
-rw-r--r--templates/web_shell/shell.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web_shell/shell.html b/templates/web_shell/shell.html
index de3fde45..4dfefb8d 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;