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:
parent
7a291d2fcc
commit
24a7c9f3ef
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue