]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Drop logo on homepage on mobile
authorJulien Déramond <juderamond@gmail.com>
Wed, 7 Dec 2022 21:32:26 +0000 (22:32 +0100)
committerMark Otto <otto@github.com>
Mon, 26 Dec 2022 19:03:32 +0000 (11:03 -0800)
site/layouts/partials/home/masthead.html

index 4ad471e1e0fd53ec2f4d96372cabf6c984755ae7..bff7ab9b85be153211105d27a432190002313a38 100644 (file)
@@ -5,7 +5,7 @@
         <strong class="d-sm-inline-block p-2 me-2 mb-2 mb-lg-0 rounded-3 masthead-notice">New in v5.3</strong>
         <span class="text-muted">Color mode support, expanded color palette, and more!</span>
       </a>
-      <img src="/docs/{{ .Site.Params.docs_version }}/assets/brand/bootstrap-logo-shadow.png" width="200" height="165" alt="Bootstrap" class="d-block mx-auto mb-3">
+      <img src="/docs/{{ .Site.Params.docs_version }}/assets/brand/bootstrap-logo-shadow.png" width="200" height="165" alt="Bootstrap" class="d-none d-sm-block mx-auto mb-3">
       <h1 class="mb-3 fw-semibold lh-1">Build fast, responsive sites with&nbsp;Bootstrap</h1>
       <p class="lead mb-4">
         Powerful, extensible, and feature-packed frontend toolkit. Build and customize with Sass, utilize prebuilt grid system and components, and bring projects to life with powerful JavaScript plugins.