]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
In foundation-everything() mixin, only modify the value of $global-flexbox if the...
authorGeoff Kimball <geoff@zurb.com>
Wed, 17 Feb 2016 18:33:04 +0000 (10:33 -0800)
committerGeoff Kimball <geoff@zurb.com>
Wed, 17 Feb 2016 18:33:04 +0000 (10:33 -0800)
scss/foundation.scss

index 275a92c27a3f191f53ad63ec95fb79f2582febb1..78d48e9262af06d12962a328125689d8585da5fd 100644 (file)
@@ -50,7 +50,9 @@
 @import 'components/tooltip';
 
 @mixin foundation-everything($flex: false) {
-  $global-flexbox: $flex !global;
+  @if $flex {
+    $global-flexbox: true !global;
+  }
 
   @include foundation-global-styles;
   @if not $flex {