Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure that the search bar is visible when focused via anchor link #3506

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

thatbudakguy
Copy link
Member

Backport of #3505

The anchor links in the skip links navigation cause the search
bar to be focused when activated, but in some cases the bar itself
is scrolled up and out of view, making it hard to interact with
after focusing.

This adds some styling to create an extra scroll margin so that
the search elements stay within view when focused using an anchor
link.

Ref sul-dlss/earthworks#1467
@jcoyne jcoyne merged commit a9910ac into release-8.x Jan 31, 2025
13 checks passed
@jcoyne jcoyne deleted the backport-3505 branch January 31, 2025 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants