diff --git a/README.md b/README.md index bbcf216cca..a270067ac9 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ Within the download you'll find the following directories and files, logically g ``` -We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). [Source maps](https://developer.chrome.com/docs/devtools/) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. Bundled JS files (`bootstrap.bundle.js` and minified `bootstrap.bundle.min.js`) include [Popper](https://popper.js.org/docs/v2/). +We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). [Source maps](https://web.dev/articles/source-maps) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. Bundled JS files (`bootstrap.bundle.js` and minified `bootstrap.bundle.min.js`) include [Popper](https://popper.js.org/docs/v2/). ## Bugs and feature requests diff --git a/site/assets/scss/_search.scss b/site/assets/scss/_search.scss index ca1e5b060c..592d65f98f 100644 --- a/site/assets/scss/_search.scss +++ b/site/assets/scss/_search.scss @@ -47,6 +47,7 @@ --docsearch-muted-color: var(--bs-secondary-color); --docsearch-hit-shadow: none; + position: fixed; z-index: 2000; // Make sure to be over all components showcased in the documentation cursor: auto; // Needed because of [role="button"] in Algolia search modal. Remove once https://github.com/algolia/docsearch/issues/1370 is tackled. diff --git a/site/layouts/_default/examples.html b/site/layouts/_default/examples.html index 19aad368d6..3b048a9d44 100644 --- a/site/layouts/_default/examples.html +++ b/site/layouts/_default/examples.html @@ -158,7 +158,7 @@ {{ .Content }} - {{- if eq hugo.Environment "production" -}} + {{- if hugo.IsProduction -}} {{- else -}} diff --git a/site/layouts/partials/footer.html b/site/layouts/partials/footer.html index 421b70ec8d..562489e50c 100644 --- a/site/layouts/partials/footer.html +++ b/site/layouts/partials/footer.html @@ -41,7 +41,7 @@