Skip to content

Commit

Permalink
Prevent elastic scrolling on the whole page
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulAdamDavis committed Sep 30, 2014
1 parent 7a291d2 commit 24a7c9f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion core/client/assets/sass/patterns/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,22 @@
html {
font: 62.5%/1.65 "Open Sans", sans-serif;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);

// Prevent elastic scrolling on the whole page
height: 100%;
width: 100%;
overflow: hidden;
}

body {
width: 100%;
color: lighten($darkgrey, 10%);
font-size: 1.4rem;
font-feature-settings: "kern" 1;

// Prevent elastic scrolling on the whole page
height: 100%;
width: 100%;
overflow: auto;
overflow-x: hidden; // Never allow horizontal scrollbars
}

Expand Down

0 comments on commit 24a7c9f

Please sign in to comment.