Jankily fix input group wrapping with button groups in Firefox (fixes #8321, #8429, and #8067)

This commit is contained in:
Mark Otto 2013-07-18 15:28:38 -07:00
parent 1f48e83700
commit 7d9fb1dda7
2 changed files with 3 additions and 4 deletions

View File

@ -1792,11 +1792,10 @@ input[type="color"].input-small {
.input-group-btn > .btn {
position: relative;
float: left;
}
.input-group-btn > .btn + .btn {
margin-left: -1px;
margin-left: -4px;
}
.input-group-btn > .btn:hover,

View File

@ -392,9 +392,9 @@ input[type="color"] {
}
.input-group-btn > .btn {
position: relative;
float: left; // Collapse white-space
// Jankily prevent input button groups from wrapping
+ .btn {
margin-left: -1px;
margin-left: -4px;
}
// Bring the "active" button to the front
&:hover,