aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-12-04 02:12:51 -0800
committerChris Rebert <[email protected]>2015-12-04 02:12:51 -0800
commit8df2e850e6e8882e73965ae37b7ac8c7d860d819 (patch)
treeb81ec029bea1f3f15d3c6285c79cd10188e7a0ae
parentf6b9e0beb452f1cf0c13788742339b32b6e3a5ac (diff)
parent2fcb2e099f006f38b46a3169f888f60728fa8260 (diff)
downloadbootstrap-8df2e850e6e8882e73965ae37b7ac8c7d860d819.tar.xz
bootstrap-8df2e850e6e8882e73965ae37b7ac8c7d860d819.zip
Merge pull request #18427 from twbs/btn-group-18425
Use $border-width for .btn-group margins that make borders overlap
-rw-r--r--scss/_button-group.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/_button-group.scss b/scss/_button-group.scss
index d85c63767..7eebd380b 100644
--- a/scss/_button-group.scss
+++ b/scss/_button-group.scss
@@ -27,7 +27,7 @@
.btn + .btn-group,
.btn-group + .btn,
.btn-group + .btn-group {
- margin-left: -1px;
+ margin-left: -$border-width;
}
}
@@ -167,7 +167,7 @@
> .btn + .btn-group,
> .btn-group + .btn,
> .btn-group + .btn-group {
- margin-top: -1px;
+ margin-top: -$border-width;
margin-left: 0;
}
}