summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGalin Simeonov <gts@volconst.com>2021-10-30 13:06:20 +0300
committerGalin Simeonov <gts@volconst.com>2021-10-30 13:06:20 +0300
commitdc93460f9598c31e3b5569eb7855e4e4423fb908 (patch)
treeb6ce2ca3e1e375dfcdf2c6ade30a6f1279a5a8dc
parentdf405a0cb99d4674d3bf14ec31b7dc5977a76718 (diff)
downloadsnek-dc93460f9598c31e3b5569eb7855e4e4423fb908.tar.gz
fixes for phone overscrolling
-rw-r--r--snek.css9
1 files changed, 8 insertions, 1 deletions
diff --git a/snek.css b/snek.css
index b9734f7..7bbdfcc 100644
--- a/snek.css
+++ b/snek.css
@@ -1,4 +1,11 @@
-body {
+body ,html {
overflow:hidden;
width:100%;
+ height:100%;
+ margin: 0;
+}
+canvas {
+ width: 100%;
+ height: 100%;
+
}