From: Geoff Kimball Date: Tue, 1 Dec 2015 17:01:47 +0000 (-0800) Subject: Move .foundation-mq CSS from breakpoint util to global styles mixin, closes #7297 X-Git-Tag: v6.0.5~20^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b4cb087f6eabbdc8d1972a84afb3c5ea266b40aa;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Move .foundation-mq CSS from breakpoint util to global styles mixin, closes #7297 --- diff --git a/scss/_global.scss b/scss/_global.scss index 1df78e502..bdffc73e2 100644 --- a/scss/_global.scss +++ b/scss/_global.scss @@ -115,6 +115,11 @@ $foundation-colors: ( ); @mixin foundation-global-styles { + // These styles are applied to a tag, which is read by the Foundation JavaScript + .foundation-mq { + font-family: '#{-zf-bp-serialize($breakpoints)}'; + } + html, body { font-size: $global-font-size; diff --git a/scss/util/_breakpoint.scss b/scss/util/_breakpoint.scss index f7e22b649..1baa9f005 100644 --- a/scss/util/_breakpoint.scss +++ b/scss/util/_breakpoint.scss @@ -186,8 +186,3 @@ $breakpoint-classes: (small medium large) !default; @return nth($values, $i); } } - -// These styles are applied to tags, which are read by the Foundation JavaScript -.foundation-mq { - font-family: '#{-zf-bp-serialize($breakpoints)}'; -}