From dc93460f9598c31e3b5569eb7855e4e4423fb908 Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Sat, 30 Oct 2021 13:06:20 +0300 Subject: fixes for phone overscrolling --- snek.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'snek.css') 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%; + } -- cgit v1.2.3