]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix wrong responsive spacing classes #11236 11487/head
authorPavol Caban <ppalicko@gmail.com>
Sun, 2 Sep 2018 19:32:40 +0000 (21:32 +0200)
committerGitHub <noreply@github.com>
Sun, 2 Sep 2018 19:32:40 +0000 (21:32 +0200)
scss/prototype/_spacing.scss

index 70e8af4fa9432671fa4bfd1de565af038fb5290b..6ba17d33fbc6266d0786fbc560265556d91e55af 100644 (file)
@@ -160,10 +160,10 @@ $prototype-spacers-count: 3 !default;
                   // Top Side
                   &-#{$prop}-#{$dir}-#{$spacer} {
                     @if ($prop == margin) { 
-                      margin: $spacer; 
+                      @include margin-direction($dir, $spacer);
                     }
                     @else if ($prop == padding) { 
-                      padding: $spacer; 
+                      @include padding-direction($dir, $spacer);
                     }
                   }
                 }