summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kobert <d-kobert@web.de>2019-06-14 17:42:02 +0200
committerDennis Kobert <d-kobert@web.de>2019-06-14 17:42:02 +0200
commit6fc34ce9e0485a093487baf50738fc1ffb70ce82 (patch)
tree0b5a44e11498fde621fa8ffc1b0ab115655edf76
parent03cedca74429c326fcca176576702873e32a8455 (diff)
Fix canvas width
-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 315d9cb..9624ad8 100644
--- a/webhogg/wasm/index.html
+++ b/webhogg/wasm/index.html
@@ -4,8 +4,8 @@
<meta charset='utf-8'/>
<title>webhogg</title>
</head>
- <body style='margin: 0; width: 100%; height: 100%; display: absolute;'>
- <canvas id='c' style='width: 100%; height: 100%; display: absolute; overflow: hidden;'>
+ <body style='margin: 0; width: 100%; height: 100%;position:fixed;display:block;top:0;bottom:0;left:0;right:0;'>
+ <canvas id='c' style='width: 100%; height: 100%;position:fixed;display:block;top:0;bottom:0;left:0;right:0;'>
your browser is incompetent
</canvas>
<script src='pkg/main.js'></script>