diff options
| author | Mark Otto <[email protected]> | 2013-11-30 15:57:25 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-11-30 15:57:25 -0800 |
| commit | 7aa6b4190be5316756fa179bb192258ce3b47548 (patch) | |
| tree | 05f32450e984201b3f6242125c264956ac984a3b /less/forms.less | |
| parent | d2f8b5327b36b9a9839d595070d841146aa4c6ab (diff) | |
| download | bootstrap-7aa6b4190be5316756fa179bb192258ce3b47548.tar.xz bootstrap-7aa6b4190be5316756fa179bb192258ce3b47548.zip | |
Fixes #11402: Set width: auto; to select.form-control within .form-inline
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/less/forms.less b/less/forms.less index a74babdb3..af1f5ac9e 100644 --- a/less/forms.less +++ b/less/forms.less @@ -309,6 +309,11 @@ input[type="checkbox"], display: inline-block; } + // 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). |
