]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Use pull request #10845 from TheBnl/patch-1 for v6.5.0
authorBram de Leeuw <bram-de-leeuw@hotmail.com>
Sat, 16 Jun 2018 07:10:41 +0000 (09:10 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sat, 16 Jun 2018 07:10:41 +0000 (09:10 +0200)
ec793f9a1 Use calc in button group with singel child

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
scss/components/_button-group.scss

index bb88bb212661df584ad3685987f56e6f14412e0d..8ef10d76246f80d6294feb1fc03ebbb4013378b8 100644 (file)
@@ -100,7 +100,7 @@ $buttongroup-radius-on-each: true !default;
     @else {
       // One child
       &:first-child:last-child {
-        width: 100%;
+        width: calc(100% - #{$spacing});
       }
 
       // Two or more childreen