1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-24 22:16:38 +02:00

Merge pull request #18427 from twbs/btn-group-18425

Use $border-width for .btn-group margins that make borders overlap
This commit is contained in:
Chris Rebert
2015-12-04 02:12:51 -08:00

View File

@@ -27,7 +27,7 @@
.btn + .btn-group, .btn + .btn-group,
.btn-group + .btn, .btn-group + .btn,
.btn-group + .btn-group { .btn-group + .btn-group {
margin-left: -1px; margin-left: -$border-width;
} }
} }
@@ -167,7 +167,7 @@
> .btn + .btn-group, > .btn + .btn-group,
> .btn-group + .btn, > .btn-group + .btn,
> .btn-group + .btn-group { > .btn-group + .btn-group {
margin-top: -1px; margin-top: -$border-width;
margin-left: 0; margin-left: 0;
} }
} }