aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-02-07 18:36:27 -0800
committerMark Otto <[email protected]>2014-02-07 18:36:27 -0800
commit06f1293acfc767d950adc329cf4abfc2b5c0b78d (patch)
tree738abb0672d3e0a5839a8657c431a202aa190ef0 /less/forms.less
parentd91d9b0ade9165c20d781ced128a751d0ae1fbda (diff)
parenta2f08158d032c1025ca0c6bf411b8282b606fb7b (diff)
downloadbootstrap-06f1293acfc767d950adc329cf4abfc2b5c0b78d.tar.xz
bootstrap-06f1293acfc767d950adc329cf4abfc2b5c0b78d.zip
Merge branch 'master' into panels_and_tables
Conflicts: dist/css/bootstrap.css.map dist/css/bootstrap.min.css docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less11
1 files changed, 8 insertions, 3 deletions
diff --git a/less/forms.less b/less/forms.less
index d97993318..f607b8509 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -133,9 +133,10 @@ output {
.placeholder();
// Disabled and read-only inputs
- // Note: HTML5 says that controls under a fieldset > legend:first-child won't
- // be disabled if the fieldset is disabled. Due to implementation difficulty,
- // we don't honor that edge case; we style them as disabled anyway.
+ //
+ // HTML5 says that controls under a fieldset > legend:first-child won't be
+ // disabled if the fieldset is disabled. Due to implementation difficulty, we
+ // don't honor that edge case; we style them as disabled anyway.
&[disabled],
&[readonly],
fieldset[disabled] & {
@@ -348,6 +349,10 @@ input[type="checkbox"],
width: auto; // Prevent labels from stacking above inputs in `.form-group`
vertical-align: middle;
}
+ // Input groups need that 100% width though
+ .input-group > .form-control {
+ width: 100%;
+ }
.control-label {
margin-bottom: 0;