aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmin Mesbah <dev@aminmesbah.com>2019-07-02 23:19:05 -0700
committerAmin Mesbah <dev@aminmesbah.com>2019-07-02 23:19:05 -0700
commit98749eb7e54d47feb3a51706bd68e14eaa0380b7 (patch)
tree8939c4c95104d47df4c651fbde04972cfe678795
parent0020efb5ecf52e8a6daffed01d79ec9ec0508219 (diff)
downloadtransparent-cube-98749eb7e54d47feb3a51706bd68e14eaa0380b7.zip
transparent-cube-98749eb7e54d47feb3a51706bd68e14eaa0380b7.tar.gz
Fill whole browser window with webgl canvas
-rw-r--r--src/platform_wasm_index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/platform_wasm_index.html b/src/platform_wasm_index.html
index 486ba6e..b47ebbb 100644
--- a/src/platform_wasm_index.html
+++ b/src/platform_wasm_index.html
@@ -2,7 +2,8 @@
<title>Transparent Cube</title>
<meta name=viewport content='width=device-width,initial-scale=1' charset='utf-8'>
<style>
-body {
+body, html {
+ height: 100%;
margin: 0;
overflow: hidden;
}