0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01:00

Fixes #5927: Scope button group 5px button left margin to immediate children

This commit is contained in:
Mark Otto 2012-11-28 01:51:04 -08:00
parent 014d3cedf5
commit 783120dffa
2 changed files with 6 additions and 6 deletions

View File

@ -3573,9 +3573,9 @@ input[type="submit"].btn.btn-mini {
font-size: 0; font-size: 0;
} }
.btn-toolbar .btn + .btn, .btn-toolbar > .btn + .btn,
.btn-toolbar .btn-group + .btn, .btn-toolbar > .btn-group + .btn,
.btn-toolbar .btn + .btn-group { .btn-toolbar > .btn + .btn-group {
margin-left: 5px; margin-left: 5px;
} }

View File

@ -24,9 +24,9 @@
font-size: 0; // Hack to remove whitespace that results from using inline-block font-size: 0; // Hack to remove whitespace that results from using inline-block
margin-top: @baseLineHeight / 2; margin-top: @baseLineHeight / 2;
margin-bottom: @baseLineHeight / 2; margin-bottom: @baseLineHeight / 2;
.btn + .btn, > .btn + .btn,
.btn-group + .btn, > .btn-group + .btn,
.btn + .btn-group { > .btn + .btn-group {
margin-left: 5px; margin-left: 5px;
} }
} }