diff options
| author | Mark Otto <[email protected]> | 2016-12-20 14:46:45 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-12-20 14:46:45 -0800 |
| commit | c1cf6310f2c9ea2ff57de83fd64e7e99e0426b8f (patch) | |
| tree | 7928ae4c6f29ae072d60093eae74f8b1d7b1bde2 /docs/components/forms.md | |
| parent | 1c2f372aadfe8ff7a0bdb4f0884e44f03a7dae91 (diff) | |
| download | bootstrap-c1cf6310f2c9ea2ff57de83fd64e7e99e0426b8f.tar.xz bootstrap-c1cf6310f2c9ea2ff57de83fd64e7e99e0426b8f.zip | |
remove .mb-0 from static form controls to follow up #21270
Diffstat (limited to 'docs/components/forms.md')
| -rw-r--r-- | docs/components/forms.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/components/forms.md b/docs/components/forms.md index 4cbf20412..4d2282d3f 100644 --- a/docs/components/forms.md +++ b/docs/components/forms.md @@ -519,14 +519,14 @@ Should you have no text within the `<label>`, the input is positioned as you'd e ## Static controls -When you need to place plain text next to a form label within a form, use the `.form-control-static` class on an element of your choice. Using an element like `<p>` with a default margin? Be sure to use a margin override (as shown below). +When you need to place plain text next to a form label within a form, use the `.form-control-static` class on an element of your choice. {% example html %} <form> <div class="form-group row"> <label class="col-sm-2 col-form-label">Email</label> <div class="col-sm-10"> - <p class="form-control-static mb-0">[email protected]</p> + <p class="form-control-static">[email protected]</p> </div> </div> <div class="form-group row"> @@ -542,7 +542,7 @@ When you need to place plain text next to a form label within a form, use the `. <form class="form-inline"> <div class="form-group"> <label class="sr-only">Email</label> - <p class="form-control-static mb-0">[email protected]</p> + <p class="form-control-static">[email protected]</p> </div> <div class="form-group"> <label for="inputPassword2" class="sr-only">Password</label> |
