]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Brush up vertical rhythm of form-check in docs. Closes #25546
authorPeter Blazejewicz <peter.blazejewicz@gmail.com>
Sun, 4 Feb 2018 16:44:37 +0000 (17:44 +0100)
committerMark Otto <markd.otto@gmail.com>
Sat, 24 Feb 2018 20:22:20 +0000 (12:22 -0800)
This adds `form-group` to add the same vertical space to the `form-check` as in other grouped controls
used in form sample markup.

Thanks!

docs/4.0/components/forms.md

index 8bf61de35d049afa6a819b72001285733deb4ace..411b1f461a250f787841138787323542fe51977f 100644 (file)
@@ -25,7 +25,7 @@ Here's a quick example to demonstrate Bootstrap's form styles. Keep reading for
     <label for="exampleInputPassword1">Password</label>
     <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
   </div>
-  <div class="form-check">
+  <div class="form-group form-check">
     <input type="checkbox" class="form-check-input" id="exampleCheck1">
     <label class="form-check-label" for="exampleCheck1">Check me out</label>
   </div>