1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-08 22:56:46 +02:00

update inline forms to resolve checkbox label with space in it and overlapping content, per #1969

This commit is contained in:
Mark Otto
2012-02-20 18:56:05 -08:00
parent 331c85724a
commit 143b3db2c9
5 changed files with 29 additions and 3 deletions

View File

@@ -910,7 +910,7 @@ For example, <code>section</code> should be wrapped as inline.
<input type="text" class="input-small" placeholder="Email">
<input type="password" class="input-small" placeholder="Password">
<label class="checkbox">
<input type="checkbox"> Remember?
<input type="checkbox"> Remember me
</label>
<button type="submit" class="btn">Sign in</button>
</form>
@@ -918,6 +918,9 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;form class="well form-inline"&gt;
&lt;input type="text" class="input-small" placeholder="Email"&gt;
&lt;input type="password" class="input-small" placeholder="Password"&gt;
&lt;label class="checkbox"&gt;
&lt;input type="checkbox"&gt; Remember me
&lt;/label&gt;
&lt;button type="submit" class="btn"&gt;Go&lt;/button&gt;
&lt;/form&gt;
</pre>