aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-09-10 08:49:29 -0700
committerMark Otto <[email protected]>2015-09-10 08:49:29 -0700
commit9f594cfe596dab72fe4d85428f9e403f2f3dc151 (patch)
treed8fd7319c34e3b2627a373e0ab6fb39cc3cb1b70
parentc9dc0b9228a0b8784e54efaa9d59110e70d9dad9 (diff)
parent99aadb92f8b7b7b6c8734931da9fbc33aafbb3d8 (diff)
downloadbootstrap-9f594cfe596dab72fe4d85428f9e403f2f3dc151.tar.xz
bootstrap-9f594cfe596dab72fe4d85428f9e403f2f3dc151.zip
Merge pull request #17553 from rbrs/form-inline
v4 - fixed incorrect inline form class in docs
-rw-r--r--docs/components/forms.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/components/forms.md b/docs/components/forms.md
index 4c46c9999..90f3e38dc 100644
--- a/docs/components/forms.md
+++ b/docs/components/forms.md
@@ -186,7 +186,7 @@ The `.form-group` class is the easiest way to add some structure to forms. Its o
### Inline forms
-Use the `.inline-form` class to to display a series of labels, form controls, and buttons on a single horizontal row. Form controls within inline forms behave differently:
+Use the `.form-inline` class to to display a series of labels, form controls, and buttons on a single horizontal row. Form controls within inline forms behave differently:
- Controls are `display: inline-block` to provide alignment control via `vertical-align` and `margin`.
- Controls receive `width: auto` to override the Bootstrap default `width: 100%`.