diff --git a/src/css/base/_page.scss b/src/css/base/_page.scss index 5304a72..d1a7b2c 100644 --- a/src/css/base/_page.scss +++ b/src/css/base/_page.scss @@ -10,12 +10,7 @@ @-ms-viewport { width: device-width; } - - // MSIE: Prevents scrollbar from overlapping content. - body { - -ms-overflow-style: scrollbar; - } - + // Ensures page width is always >=320px. @include breakpoint('<=xsmall') { html, body { @@ -34,6 +29,8 @@ } body { + // MSIE: Prevents scrollbar from overlapping content. + -ms-overflow-style: scrollbar; // Stops initial animations until page loads. &.is-preload { *, *:before, *:after { diff --git a/src/css/base/_reset.scss b/src/css/base/_reset.scss index 6891b0c..fe40cf6 100644 --- a/src/css/base/_reset.scss +++ b/src/css/base/_reset.scss @@ -21,8 +21,8 @@ margin: 0; padding: 0; border: 0; - font-size: 100%; font: inherit; + font-size: 100%; vertical-align: baseline; } @@ -33,6 +33,7 @@ body { line-height: 1; + -webkit-text-size-adjust: none; } ol, ul { @@ -54,10 +55,6 @@ border-spacing: 0; } - body { - -webkit-text-size-adjust: none; - } - mark { background-color: transparent; color: inherit; @@ -73,4 +70,4 @@ -webkit-appearance: none; -ms-appearance: none; appearance: none; - } \ No newline at end of file + }