aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorLouis-Maxime Piton <[email protected]>2024-03-08 09:04:12 +0100
committerGitHub <[email protected]>2024-03-08 09:04:12 +0100
commitf545964f8f7446a889b9226d865807d58b7fb8cb (patch)
tree0a7cc927dcec6766aa6b0e31ef9ca22f50634dee /site
parentf54befa74b3d8de86c65a9bb07e2815ce2985deb (diff)
downloadbootstrap-f545964f8f7446a889b9226d865807d58b7fb8cb.tar.xz
bootstrap-f545964f8f7446a889b9226d865807d58b7fb8cb.zip
Docs: fix position of search modal to avoid interface blocking at small breakpoints (#39739)
Co-authored-by: Julien Déramond <[email protected]>
Diffstat (limited to 'site')
-rw-r--r--site/assets/scss/_search.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/site/assets/scss/_search.scss b/site/assets/scss/_search.scss
index ca1e5b060..592d65f98 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.