]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: minor fix for Navbar > Offcanvas examples (#37145)
authorJulien Déramond <julien.deramond@orange.com>
Wed, 14 Sep 2022 13:11:14 +0000 (15:11 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Sep 2022 13:11:14 +0000 (16:11 +0300)
site/content/docs/5.2/components/navbar.md

index b37db0f92304528173ac1cc4da8a3fb9826f0a7d..7cbc4e2c18fe8e41133e0fb7471ebbf5632efa74 100644 (file)
@@ -708,7 +708,7 @@ In the example below, to create an offcanvas navbar that is always collapsed acr
             </ul>
           </li>
         </ul>
-        <form class="d-flex" role="search">
+        <form class="d-flex mt-3" role="search">
           <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
           <button class="btn btn-outline-success" type="submit">Search</button>
         </form>
@@ -768,7 +768,7 @@ When using offcanvas in a dark navbar, be aware that you may need to have a dark
             </ul>
           </li>
         </ul>
-        <form class="d-flex" role="search">
+        <form class="d-flex mt-3" role="search">
           <input class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
           <button class="btn btn-success" type="submit">Search</button>
         </form>