Make site-level overflow properties variables (#2410)

* Make site-level overflow properties variables

* Add new variables to generic.json
This commit is contained in:
Luc Perkins
2019-03-20 11:02:10 -07:00
committed by Jeremy Thomas
parent 9580432096
commit a2a5ff60ea
2 changed files with 15 additions and 3 deletions

View File

@@ -5,6 +5,8 @@ $body-family: $family-primary !default
$body-color: $text !default
$body-weight: $weight-normal !default
$body-line-height: 1.5 !default
$body-overflow-x: hidden !default
$body-overflow-y: scroll !default
$code-family: $family-code !default
$code-padding: 0.25em 0.5em 0.25em !default
@@ -24,8 +26,8 @@ html
-moz-osx-font-smoothing: grayscale
-webkit-font-smoothing: antialiased
min-width: 300px
overflow-x: hidden
overflow-y: scroll
overflow-x: $body-overflow-x
overflow-y: $body-overflow-y
text-rendering: $body-rendering
text-size-adjust: 100%