aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less14
1 files changed, 13 insertions, 1 deletions
diff --git a/less/forms.less b/less/forms.less
index 47ed3426a..de17d1c82 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -368,6 +368,18 @@ input[type="checkbox"],
width: auto; // Prevent labels from stacking above inputs in `.form-group`
vertical-align: middle;
}
+
+ .input-group {
+ display: inline-table;
+ vertical-align: middle;
+
+ .input-group-addon,
+ .input-group-btn,
+ .form-control {
+ width: auto;
+ }
+ }
+
// Input groups need that 100% width though
.input-group > .form-control {
width: 100%;
@@ -415,7 +427,7 @@ input[type="checkbox"],
// Consistent vertical alignment of radios and checkboxes
//
- // Labels also get some reset styles, but that is scope to a media query below.
+ // Labels also get some reset styles, but that is scoped to a media query below.
.radio,
.checkbox,
.radio-inline,