diff options
author | Mark Otto <markdotto@gmail.com> | 2022-05-13 20:11:09 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2022-05-13 20:16:05 +0300 |
commit | 46bb9e78d74e0c7f4fa6f6fa611f3d9f8f28860b (patch) | |
tree | 0fc94a55ee39f4f28f5753aca373caf045feaf0f /site/layouts | |
parent | ab37f63b3d7968d039b7961bca3fb29fe132a40e (diff) |
Fix homepage npm install snippet
Diffstat (limited to 'site/layouts')
-rw-r--r-- | site/layouts/partials/home/masthead.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/site/layouts/partials/home/masthead.html b/site/layouts/partials/home/masthead.html index 4f91c2b07e..ac35d43a3d 100644 --- a/site/layouts/partials/home/masthead.html +++ b/site/layouts/partials/home/masthead.html @@ -10,9 +10,9 @@ <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. </p> - <div class="d-flex flex-column flex-md-row align-items-md-stretch justify-content-md-center gap-3 mb-4"> - <div class="d-inline-block v-align-middle fs-5" style="min-width: fit-content;"> - {{ highlight (printf ("npm install bootstrap@%s") .Site.Params.current_version) "sh" "" }} + <div class="d-flex flex-column flex-lg-row align-items-md-stretch justify-content-md-center gap-3 mb-4"> + <div class="d-inline-block v-align-middle fs-5"> + {{ highlight (printf ("npm i bootstrap@%s") .Site.Params.current_version) "sh" "" }} </div> <a href="/docs/{{ .Site.Params.docs_version }}/getting-started/introduction/" class="btn btn-lg bd-btn-lg btn-bd-primary d-flex align-items-center justify-content-center fw-semibold" onclick="ga('send', 'event', 'Jumbotron actions', 'Get started', 'Get started');"> <svg class="bi me-2" aria-hidden="true"><use xlink:href="#book-half"></use></svg> |