Commit 783120df authored by Mark Otto's avatar Mark Otto

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

parent 014d3ced
...@@ -3573,9 +3573,9 @@ input[type="submit"].btn.btn-mini { ...@@ -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;
} }
......
...@@ -24,9 +24,9 @@ ...@@ -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;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment