Bugfix: increase navbar z-index so autosuggest options appear over ac… #1519
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…tive group toggle. Fixes #1518.
Rationale
The
.navbar-search
is currently getting az-index: 1
from upstream blacklight here:https://github.com/projectblacklight/blacklight/blob/main/app/assets/stylesheets/blacklight/_header.scss#L25
That ties the
![Screenshot 2024-03-13 at 4 15 24 PM](https://private-user-images.githubusercontent.com/3933756/312608656-f06046d7-3621-4e90-8cfb-c2bf6c7879d3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTk1MzIsIm5iZiI6MTczOTI5OTIzMiwicGF0aCI6Ii8zOTMzNzU2LzMxMjYwODY1Ni1mMDYwNDZkNy0zNjIxLTRlOTAtOGNmYi1jMmJmNmM3ODc5ZDMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTg0MDMyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2MyZTRmZjM2ZGUyMzU1NGZhMzQyNzk3YzliYzMwYjZiN2M2MTkwMmQyNzM2YjI0NmE0OTQzMjU5YmE3YTliNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.7b8ZTXsXmXGez4MyuVWgVixohQRO9ifJbk_UBhcslBM)
![Screenshot 2024-03-13 at 4 15 16 PM](https://private-user-images.githubusercontent.com/3933756/312608698-7e2160dd-52a9-44f0-be12-233fe6dcda82.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTk1MzIsIm5iZiI6MTczOTI5OTIzMiwicGF0aCI6Ii8zOTMzNzU2LzMxMjYwODY5OC03ZTIxNjBkZC01MmE5LTQ0ZjAtYmUxMi0yMzNmZTZkY2RhODIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTg0MDMyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTNlMDdmMGFiYTE1NDlmYjQ0YjViYmM2OTEzYTczNTZmOGY3NDgyYzRmOWE5ZGM5MjY4YWU2MzQ2YWExM2M1NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.YUVKwcDzGgMRZXlXqGLRXUBs4_4DDGH6qIqGNpZVIlk)
z-index: 1
set on the active elements in thesearch-widgets
section, and because those appear later they take precedence.