0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-20 17:54:23 +01:00

v4 - fixed incorrect inline form class in docs

This commit is contained in:
Rolandas Barysas 2015-09-10 10:46:26 +03:00
parent a91d267a21
commit 99aadb92f8

View File

@ -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%`.