From e8310662975bcaa1b7597ad6928946e9fd24da53 Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Wed, 19 Jan 2022 13:11:57 +0100 Subject: [PATCH] prevent scroll on mobile --- www/draw.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/www/draw.html b/www/draw.html index 3208009..4a16fe4 100644 --- a/www/draw.html +++ b/www/draw.html @@ -59,13 +59,17 @@ width: 100%; margin: 0; font-family: sans-serif; + position: fixed; + + overscroll-behavior: contain; + overflow-y: hidden; } #interface { height: 0; overflow: hidden; - padding-top: calc( { + /* padding-top: calc( { HEIGHT } @@ -73,7 +77,7 @@ WIDTH } - * 100%); + * 100%); */ position: relative; margin: 0 auto; background-size: 100% 100%;