]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add default flag to RTL version of button margin variable, fixes #7093
authorGeoff Kimball <geoff@zurb.com>
Tue, 24 Nov 2015 23:51:51 +0000 (15:51 -0800)
committerGeoff Kimball <geoff@zurb.com>
Tue, 24 Nov 2015 23:51:51 +0000 (15:51 -0800)
scss/components/_button.scss

index 84f1f297be6ff0304c679c3baca5a9e0ae5911aa..6b01bb5e3c17530b2e07653c94bf388842cbd4c1 100644 (file)
@@ -53,7 +53,7 @@ $button-opacity-disabled: 0.25 !default;
 
 // Internal: flip from margin-right to margin-left for defaults
 @if $global-text-direction == 'rtl' {
-  $button-margin: 0 0 $global-margin $global-margin;
+  $button-margin: 0 0 $global-margin $global-margin !default;
 }
 
 // TODO: Document button-base() mixin