summaryrefslogtreecommitdiff
path: root/webhogg/wasm/index.html
diff options
context:
space:
mode:
authornatrixaeria <janng@gmx.de>2019-06-13 17:21:44 +0200
committernatrixaeria <janng@gmx.de>2019-06-13 17:21:44 +0200
commit03cedca74429c326fcca176576702873e32a8455 (patch)
tree7fc85a00e009eeed00c3e2525be93ae9382c6b63 /webhogg/wasm/index.html
parent7884252333cc102a8144e4eafc36f9ef605b1be7 (diff)
Add rendering loop
Diffstat (limited to 'webhogg/wasm/index.html')
-rw-r--r--webhogg/wasm/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/webhogg/wasm/index.html b/webhogg/wasm/index.html
index b6c8b9b..315d9cb 100644
--- a/webhogg/wasm/index.html
+++ b/webhogg/wasm/index.html
@@ -4,8 +4,8 @@
<meta charset='utf-8'/>
<title>webhogg</title>
</head>
- <body>
- <canvas id='c' width='640' height='360'>
+ <body style='margin: 0; width: 100%; height: 100%; display: absolute;'>
+ <canvas id='c' style='width: 100%; height: 100%; display: absolute; overflow: hidden;'>
your browser is incompetent
</canvas>
<script src='pkg/main.js'></script>