From 7d9fb1dda7a3009e986364b714313037bfb67d0c Mon Sep 17 00:00:00 2001 From: Mark Otto <otto@github.com> Date: Thu, 18 Jul 2013 15:28:38 -0700 Subject: [PATCH] Jankily fix input group wrapping with button groups in Firefox (fixes #8321, #8429, and #8067) --- docs/assets/css/bootstrap.css | 3 +-- less/forms.less | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index ebfc45fdd4..257cbacb15 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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, diff --git a/less/forms.less b/less/forms.less index add42ee9f8..eaa7c11d2c 100644 --- a/less/forms.less +++ b/less/forms.less @@ -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, -- GitLab