Skip to content

Commit

Permalink
overflow-y: auto is fine
Browse files Browse the repository at this point in the history
  • Loading branch information
fongandrew committed Aug 8, 2018
1 parent 55568b6 commit dcfe664
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions _sass/hydeout/_layout.scss
Expand Up @@ -147,12 +147,14 @@ body {
body {
flex-direction: row;
height: 100vh;
overflow-y: scroll; /* has to be scroll, not auto */
overflow-y: auto;
-webkit-overflow-scrolling: touch;
> * { max-height: 100vh;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
}
> * {
max-height: 100vh;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
}

/* Undo mobile CSS */

Expand Down

0 comments on commit dcfe664

Please sign in to comment.