diff options
| author | Mark Otto <[email protected]> | 2014-07-07 20:44:43 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-07-07 20:44:43 -0700 |
| commit | ddee04038f946ac103eb4e70c8eb7adeb2cf563b (patch) | |
| tree | 6bf564da90b92ab5f5062a9a3b7952696a58857a /docs/_includes/css/forms.html | |
| parent | 25a90958406b04e07f5ba42c88112a170b043e20 (diff) | |
| download | bootstrap-ddee04038f946ac103eb4e70c8eb7adeb2cf563b.tar.xz bootstrap-ddee04038f946ac103eb4e70c8eb7adeb2cf563b.zip | |
Fixes #14068: Update docs note for inline forms
Diffstat (limited to 'docs/_includes/css/forms.html')
| -rw-r--r-- | docs/_includes/css/forms.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/_includes/css/forms.html b/docs/_includes/css/forms.html index 02deb7d67..08b3e77ae 100644 --- a/docs/_includes/css/forms.html +++ b/docs/_includes/css/forms.html @@ -49,17 +49,17 @@ <button type="submit" class="btn btn-default">Submit</button> </form> {% endhighlight %} - <div class="bs-callout bs-callout-warning"> - <h4>Don't mix form groups with input groups</h4> - <p>Do not mix form groups directly with <a href="/components/#input-groups">input groups</a>. Instead, nest the input group inside of the form group.</p> - </div> + <div class="bs-callout bs-callout-warning"> + <h4>Don't mix form groups with input groups</h4> + <p>Do not mix form groups directly with <a href="/components/#input-groups">input groups</a>. Instead, nest the input group inside of the form group.</p> + </div> <h2 id="forms-inline">Inline form</h2> <p>Add <code>.form-inline</code> to your <code><form></code> for left-aligned and inline-block controls. <strong>This only applies to forms within viewports that are at least 768px wide.</strong></p> <div class="bs-callout bs-callout-danger"> <h4>Requires custom widths</h4> - <p>Inputs, selects, and textareas are 100% wide by default in Bootstrap. To use the inline form, you'll have to set a width on the form controls used within.</p> + <p>Inputs and selects have <code>width: 100%;</code> applied by default in Bootstrap. Within inline forms, we reset that to <code>width: auto;</code> so multiple controls can reside on the same line. Depending on your layout, additional custom widths may be required.</p> </div> <div class="bs-callout bs-callout-warning"> <h4>Always add labels</h4> |
