summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornatrixaeria <janng@gmx.de>2019-06-14 00:18:35 +0200
committernatrixaeria <janng@gmx.de>2019-06-14 00:18:35 +0200
commit4fd207e78452a9e282ef65fc9c3eaf8b19115956 (patch)
tree25fb771c3d8683c8af055cc7fd4fe9b580b7bbdd
parentb75597c140e9b4758a1ad803044dda96b403e1a5 (diff)
Fill all screen space with the canvas
-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..350c58d 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%; posisiton: fixed; display: block;'>
+ <canvas id='c' style='width: 100%; height: 100%; position: fixed; display: block; overflow: hidden;'>
your browser is incompetent
</canvas>
<script src='pkg/main.js'></script>