From 7084c5833937c1f2b3fbb2e61a61858c7c68df7c Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Fri, 23 Nov 2018 15:37:36 +0200 Subject: Disable scroll bounce on mobile devices --- src/index.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/index.css') diff --git a/src/index.css b/src/index.css index 6c06094..822eb36 100644 --- a/src/index.css +++ b/src/index.css @@ -1,6 +1,10 @@ body { margin: 0; padding: 0; + position: fixed; + overflow: hidden; + width: 100vw; + height: 100vh; user-select: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", -- cgit v1.3.1