commit 9e0f64d682d43394ff86099f78871abf20b9a872
parent cef315be54cde8a1e1c201396060c8f68458996f
Author: amin <dev@aminmesbah.com>
Date: Wed, 3 Jul 2019 06:18:25 +0000
Fill whole browser window with webgl canvas
FossilOrigin-Name: 66c8c1e621b099f284b319774a1b7d4001590fb3cd40aec31fe6f436c25007d6
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/platform_wasm_index.html b/src/platform_wasm_index.html
@@ -2,7 +2,8 @@
<title>A Game</title>
<meta name=viewport content='width=device-width,initial-scale=1' charset='utf-8'>
<style>
-body {
+body, html {
+ height: 100%;
margin: 0;
overflow: hidden;
}