From 87e389a9560b444e3400df776069a5df105851cd Mon Sep 17 00:00:00 2001 From: Torjus Date: Thu, 9 Aug 2018 09:18:54 +0200 Subject: [PATCH] Prevent scrollbars on mobile --- app/stylus/index.styl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/stylus/index.styl b/app/stylus/index.styl index c9888e5..ce004c2 100644 --- a/app/stylus/index.styl +++ b/app/stylus/index.styl @@ -11,6 +11,8 @@ html { height: 100%; font-family: 'Roboto'; font-weight: 300; + overflow-x: hidden; + overflow-y: hidden; +mobile() { font-size: 12px; @@ -20,6 +22,7 @@ html { body { height: 100%; overflow-x: hidden; + overflow-y: hidden; background-color: #333; +desktop() {