]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fixed the margin (separator) of the stacked button group 8445/head
authorAbdullah Salem <abdullahsalem@outlook.com>
Tue, 22 Mar 2016 13:50:29 +0000 (16:50 +0300)
committerAbdullah Salem <abdullahsalem@outlook.com>
Tue, 22 Mar 2016 13:50:29 +0000 (16:50 +0300)
scss/components/_button-group.scss

index ea95e38b214b3dfb04f7c9d8bb8007c1937307c8..bbcdaf1de6ed4e1fc07c4fd41a49f92ccf9d1e15 100644 (file)
@@ -109,13 +109,20 @@ $buttongroup-expand-max: 6 !default;
   #{$selector} {
     @if $global-flexbox {
       flex: 0 0 100%;
+      margin-#{$global-right}: 0; 
     }
     @else {
       width: 100%;
+      border-#{$global-right}: $buttongroup-spacing solid transparent;
     }
-
+    
     &:not(:last-child) {
-      margin-#{$global-right}: 0;
+      @if $global-flexbox {
+        margin-bottom: $buttongroup-spacing;
+      }
+      @else {
+        border-bottom: $buttongroup-spacing solid $body-background;
+      }
     }
   }
 }