mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-24 14:13:06 +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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user