diff options
| author | Mark Otto <[email protected]> | 2014-03-09 21:25:51 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-03-09 21:25:51 -0700 |
| commit | a15c24410be8b94671dcfc3b154e0034a3aaf35f (patch) | |
| tree | 5c150ed0bef9204736fce436b922ceb437130a1a /docs/css.html | |
| parent | b4d66b7f6b8ca49fbf45fccf445910d607969946 (diff) | |
| download | bootstrap-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.html | 6 |
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><section></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> |
