]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes signup form in Heroes example
authorMark Otto <markdotto@gmail.com>
Mon, 19 Apr 2021 03:48:13 +0000 (20:48 -0700)
committerMark Otto <otto@github.com>
Mon, 19 Apr 2021 04:10:54 +0000 (21:10 -0700)
Fixes #33660

site/content/docs/5.0/examples/heroes/index.html

index 43138d567c5c7786d68b63eb09595ed06161bffd..7d553a16bad5acd6a47112ec10697551a0a9f4ae 100644 (file)
@@ -57,13 +57,13 @@ body_class: ""
 <div class="b-example-divider"></div>
 
 <div class="container col-xl-10 col-xxl-8 px-4 py-5">
-  <div class="row align-items-center g-5 py-5">
+  <div class="row align-items-center g-lg-5 py-5">
     <div class="col-lg-7 text-center text-lg-start">
       <h1 class="display-4 fw-bold lh-1 mb-3">Vertically centered hero sign-up form</h1>
       <p class="col-lg-10 fs-4">Below is an example form built entirely with Bootstrap’s form controls. Each required form group has a validation state that can be triggered by attempting to submit the form without completing it.</p>
     </div>
-    <div class="col-10 mx-auto col-lg-5">
-      <form class="p-5 border rounded-3 bg-light">
+    <div class="col-md-10 mx-auto col-lg-5">
+      <form class="p-4 p-md-5 border rounded-3 bg-light">
         <div class="form-floating mb-3">
           <input type="email" class="form-control" id="floatingInput" placeholder="name@example.com">
           <label for="floatingInput">Email address</label>