]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Jankily fix input group wrapping with button groups in Firefox (fixes #8321, #8429...
authorMark Otto <otto@github.com>
Thu, 18 Jul 2013 22:28:38 +0000 (15:28 -0700)
committerMark Otto <otto@github.com>
Thu, 18 Jul 2013 22:28:38 +0000 (15:28 -0700)
docs/assets/css/bootstrap.css
less/forms.less

index ebfc45fdd43455fbf2d75cfcdefd03e009a78002..257cbacb15b0dca871febdd738940ece48f1cf24 100644 (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,
index add42ee9f8ef05db120378d228bbe8a43e75627d..eaa7c11d2ce0db0091de403020f6dd2ce5703218 100644 (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,