From cfa56be339233bb66e502176f7f2e3d5e58bfe81 Mon Sep 17 00:00:00 2001 From: Kevin Weber Date: Mon, 6 Jan 2014 13:44:21 -0500 Subject: [PATCH] meta.foundation-mq-topbar now output only once. --- scss/foundation/components/_top-bar.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 */ -- 2.47.2