From f935812ddf968a2fbc14fdae78eb408a56b75e0c Mon Sep 17 00:00:00 2001 From: Jory Hogeveen Date: Thu, 29 Sep 2016 15:16:41 +0200 Subject: [PATCH 1/2] Fix #251 --- dist/slidebars.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/dist/slidebars.css b/dist/slidebars.css index 40efd0d..72228c0 100755 --- a/dist/slidebars.css +++ b/dist/slidebars.css @@ -20,10 +20,15 @@ html, body, [canvas=container], [off-canvas] { box-sizing: border-box; } +html { + overflow-y: auto; +} +body { + overflow-y: hidden; +} html, body { width: 100%; - height: 100%; - overflow: hidden; + overflow-x: hidden; } /** @@ -36,8 +41,6 @@ html, body { [canvas=container] { width: 100%; - height: 100%; - overflow-y: auto; position: relative; background-color: white; /* Basic background color, overwrite this in your own css. */ -webkit-overflow-scrolling: touch; /* Enables momentum scrolling on iOS devices, may be removed by setting to 'auto' in your own CSS. */ @@ -152,4 +155,4 @@ html, body { [off-canvas] { display: none !important; } -} \ No newline at end of file +} From 3e07143a53b74eccfcdfd9aee683cfa68a88e000 Mon Sep 17 00:00:00 2001 From: Jory Hogeveen Date: Fri, 30 Sep 2016 14:21:14 +0200 Subject: [PATCH 2/2] Some changes (similar to Slidebars 0.x) --- dist/slidebars.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/slidebars.css b/dist/slidebars.css index 72228c0..d79877e 100755 --- a/dist/slidebars.css +++ b/dist/slidebars.css @@ -21,9 +21,10 @@ html, body, [canvas=container], [off-canvas] { } html { - overflow-y: auto; + height: 100%; } body { + min-height: 100%; overflow-y: hidden; } html, body {