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

surface search on narrow screens #1689

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

atuttle
Copy link
Contributor

@atuttle atuttle commented Feb 20, 2025

Caution

I was not able to get cfdocs running locally, so I have not been able to test these changes. However, they are small and I believe they should work. I did experiment with browser devtools to verify approaches.

The CFDocs site is responsive, which is great. But I would imagine that the majority use-case is to use the search, and when visiting on a narrow screen the search is hidden away inside the hamburger menu.

This change would -- only on narrow screens -- hide the form that collapses into the hamburger menu, and display a copy of the search form just underneath the site masthead.

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.

1 participant