]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update form-control.md (#29203)
authorXhmikosR <xhmikosr@gmail.com>
Sun, 4 Aug 2019 17:20:00 +0000 (20:20 +0300)
committerGitHub <noreply@github.com>
Sun, 4 Aug 2019 17:20:00 +0000 (20:20 +0300)
Fix Readonly plain text form alignment

site/content/docs/4.3/forms/form-control.md

index 0189f02e8b2ae2a774ac82b72996974a48cc73fd..c47940c1100cac01433283d186a05b7a17012617 100644 (file)
@@ -62,14 +62,14 @@ If you want to have `<input readonly>` elements in your form styled as plain tex
 
 {{< example >}}
 <form class="form-inline">
-  <div class="mb-3 mb-2">
+  <div class="mb-3">
     <label for="staticEmail2" class="sr-only">Email</label>
     <input type="text" readonly class="form-control-plaintext" id="staticEmail2" value="email@example.com">
   </div>
-  <div class="mb-3 mx-sm-3 mb-2">
+  <div class="mb-3 mx-sm-3">
     <label for="inputPassword2" class="sr-only">Password</label>
     <input type="password" class="form-control" id="inputPassword2" placeholder="Password">
   </div>
-  <button type="submit" class="btn btn-primary mb-2">Confirm identity</button>
+  <button type="submit" class="btn btn-primary mb-3">Confirm identity</button>
 </form>
 {{< /example >}}