aboutsummaryrefslogtreecommitdiff
path: root/docs/css.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-09 21:25:51 -0700
committerMark Otto <[email protected]>2014-03-09 21:25:51 -0700
commita15c24410be8b94671dcfc3b154e0034a3aaf35f (patch)
tree5c150ed0bef9204736fce436b922ceb437130a1a /docs/css.html
parentb4d66b7f6b8ca49fbf45fccf445910d607969946 (diff)
downloadbootstrap-a15c24410be8b94671dcfc3b154e0034a3aaf35f.tar.xz
bootstrap-a15c24410be8b94671dcfc3b154e0034a3aaf35f.zip
Fixes #12759
Ensures proper sizing and alignment of input groups within inline and navbar forms. * Uses `inline-table` on the input group * Nukes the widths to `width: auto`—without this, the parent input group doesn’t size correctly and functions as `display: table;` or `block`
Diffstat (limited to 'docs/css.html')
-rw-r--r--docs/css.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/css.html b/docs/css.html
index 6b1a6c222..6cf3c6c82 100644
--- a/docs/css.html
+++ b/docs/css.html
@@ -1650,6 +1650,12 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
<input type="email" class="form-control" id="exampleInputEmail2" placeholder="Enter email">
</div>
<div class="form-group">
+ <div class="input-group">
+ <div class="input-group-addon">@</div>
+ <input class="form-control" type="email" placeholder="Enter email">
+ </div>
+ </div>
+ <div class="form-group">
<label class="sr-only" for="exampleInputPassword2">Password</label>
<input type="password" class="form-control" id="exampleInputPassword2" placeholder="Password">
</div>