From: Kevin Weber Date: Mon, 6 Jan 2014 18:44:21 +0000 (-0500) Subject: meta.foundation-mq-topbar now output only once. X-Git-Tag: 5.0.3~36^2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4073%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git meta.foundation-mq-topbar now output only once. --- diff --git a/scss/foundation/components/_top-bar.scss b/scss/foundation/components/_top-bar.scss index e685fd8c1..1d218d5ee 100644 --- a/scss/foundation/components/_top-bar.scss +++ b/scss/foundation/components/_top-bar.scss @@ -71,15 +71,15 @@ $topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: $topbar-sticky-class: ".sticky" !default; $topbar-arrows: true !default; //Set false to remove the triangle icon from the menu item -// Used to provide media query values for javascript components. -// This class is generated despite the value of $include-html-top-bar-classes -// to ensure width calculations work correctly. -meta.foundation-mq-topbar { - font-family: "/" + unquote($topbar-media-query) + "/"; - width: $topbar-breakpoint; -} - @include exports("top-bar") { + // Used to provide media query values for javascript components. + // This class is generated despite the value of $include-html-top-bar-classes + // to ensure width calculations work correctly. + meta.foundation-mq-topbar { + font-family: "/" + unquote($topbar-media-query) + "/"; + width: $topbar-breakpoint; + } + @if $include-html-top-bar-classes { /* Wrapped around .top-bar to contain to grid width */