From f6ccd391588bd4400a989498e669a4857b49145d Mon Sep 17 00:00:00 2001 From: Antonio Laguna Date: Mon, 27 Feb 2017 12:43:59 +0100 Subject: [PATCH] Changing scrollable container To avoid elastic scroll on OSX --- static/css/base.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/static/css/base.css b/static/css/base.css index 2fa0038..224b1c9 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -302,8 +302,19 @@ dd { 1. Base --> Baseline: 8px = .8rem =========================================== */ +html, body { + width: 100%; + height: 100%; + overflow: hidden; +} + + +#webslides { + height: 100vh; overflow-x: hidden; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; } /* == Prototype faster - Vertical rhythm == */