0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Prevent elastic scrolling on the whole page

This commit is contained in:
Paul Adam Davis 2014-09-19 14:52:54 +01:00
parent 7a291d2fcc
commit 24a7c9f3ef

View file

@ -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
}