Browse Source

Fixes scroll problem with touch input

pull/622/head
Daijiro Wachi 8 years ago
parent
commit
14c91d5703
  1. 6
      sass/base.scss

6
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;
}

Loading…
Cancel
Save