From b04a1de9b097de7f4df95b30df040efe86563e75 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 15 Dec 2013 14:52:49 -0800 Subject: Fixes #11402: Updated fix for select.form-control width in inline-forms --- less/forms.less | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'less/forms.less') diff --git a/less/forms.less b/less/forms.less index f7fc5d66c..d2d089c30 100644 --- a/less/forms.less +++ b/less/forms.less @@ -311,6 +311,11 @@ input[type="checkbox"], width: auto; } + // Override `width: 100%;` when not within a `.form-group` + > select.form-control { + width: auto; + } + // Remove default margin on radios/checkboxes that were used for stacking, and // then undo the floating of radios and checkboxes to match (which also avoids // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969). -- cgit v1.2.3