diff --git a/dist/slidebars.css b/dist/slidebars.css index 40efd0d..d79877e 100755 --- a/dist/slidebars.css +++ b/dist/slidebars.css @@ -20,10 +20,16 @@ html, body, [canvas=container], [off-canvas] { box-sizing: border-box; } +html { + height: 100%; +} +body { + min-height: 100%; + overflow-y: hidden; +} html, body { width: 100%; - height: 100%; - overflow: hidden; + overflow-x: hidden; } /** @@ -36,8 +42,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 +156,4 @@ html, body { [off-canvas] { display: none !important; } -} \ No newline at end of file +}