Remove html overflow-y: scroll
This commit is contained in:
@@ -7,14 +7,10 @@
|
|||||||
//
|
//
|
||||||
// 1. Set the default `font-size` and `line-height` for the entire project,
|
// 1. Set the default `font-size` and `line-height` for the entire project,
|
||||||
// sourced from our default variables.
|
// sourced from our default variables.
|
||||||
// 2. Force scrollbars to always be visible to prevent awkward ‘jumps’ when
|
// 2. Ensure the page always fills at least the entire height of the viewport.
|
||||||
// navigating between pages that do/do not have enough content to produce
|
|
||||||
// scrollbars naturally.
|
|
||||||
// 3. Ensure the page always fills at least the entire height of the viewport.
|
|
||||||
//
|
//
|
||||||
html {
|
html {
|
||||||
overflow-y: scroll; /* [2] */
|
min-height: 100%; /* [2] */
|
||||||
min-height: 100%; /* [3] */
|
|
||||||
color: $color;
|
color: $color;
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
line-height: $line-height; /* [1] */
|
line-height: $line-height; /* [1] */
|
||||||
|
|||||||
Reference in New Issue
Block a user