Commit 7d9fb1dd authored by Mark Otto's avatar Mark Otto
Browse files

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

parent 1f48e837
3 merge requests!8635ignore Gruntfile.js in jekyll,!8656Added rel="stylesheet" to CDN-Examples,!8527Inner properties move 1
Showing with 3 additions and 4 deletions
+3 -4
...@@ -1792,11 +1792,10 @@ input[type="color"].input-small { ...@@ -1792,11 +1792,10 @@ input[type="color"].input-small {
.input-group-btn > .btn { .input-group-btn > .btn {
position: relative; position: relative;
float: left;
} }
.input-group-btn > .btn + .btn { .input-group-btn > .btn + .btn {
margin-left: -1px; margin-left: -4px;
} }
.input-group-btn > .btn:hover, .input-group-btn > .btn:hover,
......
...@@ -392,9 +392,9 @@ input[type="color"] { ...@@ -392,9 +392,9 @@ input[type="color"] {
} }
.input-group-btn > .btn { .input-group-btn > .btn {
position: relative; position: relative;
float: left; // Collapse white-space // Jankily prevent input button groups from wrapping
+ .btn { + .btn {
margin-left: -1px; margin-left: -4px;
} }
// Bring the "active" button to the front // Bring the "active" button to the front
&:hover, &:hover,
......
Supports Markdown
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