]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Use $border-width for .btn-group margins that make borders overlap 18427/head
authorChris Rebert <code@chrisrebert.com>
Fri, 4 Dec 2015 09:42:18 +0000 (01:42 -0800)
committerChris Rebert <code@chrisrebert.com>
Fri, 4 Dec 2015 09:42:51 +0000 (01:42 -0800)
Fixes half of #18425
[skip sauce]
[skip validator]

scss/_button-group.scss

index d85c637679f2fb2d4bf5909ca86a9ad412b65a11..7eebd380ba5e7b0dd84834d721e840c4fb888810 100644 (file)
@@ -27,7 +27,7 @@
   .btn + .btn-group,
   .btn-group + .btn,
   .btn-group + .btn-group {
-    margin-left: -1px;
+    margin-left: -$border-width;
   }
 }
 
   > .btn + .btn-group,
   > .btn-group + .btn,
   > .btn-group + .btn-group {
-    margin-top: -1px;
+    margin-top: -$border-width;
     margin-left: 0;
   }
 }