Skip to content

Commit

Permalink
Docs: fix position of search modal to avoid interface blocking at sma…
Browse files Browse the repository at this point in the history
…ll breakpoints (#39739)

Co-authored-by: Julien Déramond <juderamond@gmail.com>
  • Loading branch information
louismaximepiton and julien-deramond committed Mar 8, 2024
1 parent f54befa commit f545964
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions site/assets/scss/_search.scss
Expand Up @@ -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.

Expand Down

0 comments on commit f545964

Please sign in to comment.