mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
custom widths not always required for inline form fields
[skip sauce]
This commit is contained in:
parent
cd31bef5ce
commit
ca2c1e1576
@ -58,7 +58,7 @@
|
||||
<h2 id="forms-inline">Inline form</h2>
|
||||
<p>Add <code>.form-inline</code> to your form (which doesn't have to be a <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" id="callout-inline-form-width">
|
||||
<h4>Requires custom widths</h4>
|
||||
<h4>May require custom widths</h4>
|
||||
<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" id="callout-inline-form-labels">
|
||||
|
Loading…
x
Reference in New Issue
Block a user