]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes click area for header example snippet
authorMark Otto <markdotto@gmail.com>
Wed, 8 Mar 2023 05:46:50 +0000 (21:46 -0800)
committerMark Otto <markdotto@gmail.com>
Wed, 8 Mar 2023 05:53:05 +0000 (21:53 -0800)
site/content/docs/5.3/examples/headers/index.html

index 6262025e8c7b8ecc9c7539290281beab674fa213..a0c87f67e2050ce17786da1f921184e4cd191ff2 100644 (file)
@@ -68,9 +68,11 @@ body_class: ""
 
   <div class="container">
     <header class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-3 mb-4 border-bottom">
-      <a href="/" class="d-flex align-items-center col-md-3 mb-2 mb-md-0 link-body-emphasis text-decoration-none">
-        <svg class="bi me-2" width="40" height="32" role="img" aria-label="Bootstrap"><use xlink:href="#bootstrap"/></svg>
-      </a>
+      <div class="col-md-3 mb-2 mb-md-0">
+        <a href="/" class="d-inline-flex link-body-emphasis text-decoration-none">
+          <svg class="bi" width="40" height="32" role="img" aria-label="Bootstrap"><use xlink:href="#bootstrap"/></svg>
+        </a>
+      </div>
 
       <ul class="nav col-12 col-md-auto mb-2 justify-content-center mb-md-0">
         <li><a href="#" class="nav-link px-2 link-secondary">Home</a></li>