From 14c91d5703b2b3ebf91247ddecbed02bd14ba71a Mon Sep 17 00:00:00 2001 From: Daijiro Wachi Date: Mon, 6 Mar 2017 13:00:20 +0100 Subject: [PATCH] Fixes scroll problem with touch input --- sass/base.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sass/base.scss b/sass/base.scss index fee0c99..cc832bf 100644 --- a/sass/base.scss +++ b/sass/base.scss @@ -9,9 +9,8 @@ box-sizing: border-box; } -// We fix position the body and scroll `.content`. body { - position: fixed; + position: absolute; top: 0; right: 0; bottom: 0; @@ -36,12 +35,13 @@ a { // Wrapper to be used around all content not in .bar-title and .bar-tab .content { - position: absolute; + position: relative; top: 0; right: 0; bottom: 0; left: 0; overflow: auto; + overflow-y: scroll; background-color: #fff; -webkit-overflow-scrolling: touch; }