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

First crack at mobile-friendly subnav #37

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Conversation

josh-collinsworth
Copy link
Contributor

@josh-collinsworth josh-collinsworth commented Feb 28, 2024

Putting all the nav items into a hamburger menu is quite a bit of work with the current implementation, and I'm not entirely sure it's a better user experience than seeing all the options anyway.

The main issue seemed to be how much space the menu was taking up, so this seems like, if nothing else, a reasonable low-lift stopgap, even if we rework it later.

It makes the nav always tabs, and lets them wrap onto multiple rows when there's not enough room for all of them. We could do horizontal scroll, like we do now on md+ screens, but if we go that route I'd want to invest in making the horizontal scroll very clear.

image image
CleanShot 2024-02-28 at 11 46 02@2x CleanShot 2024-02-28 at 11 45 55@2x

Copy link
Member

@donjo donjo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me as an interim solution though I still want to explore some of the other ideas you mentioned

@josh-collinsworth josh-collinsworth added this pull request to the merge queue Feb 28, 2024
Merged via the queue into main with commit 505a948 Feb 28, 2024
5 checks passed
@josh-collinsworth josh-collinsworth deleted the joco/pkg_menu branch February 28, 2024 19:08
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.

3 participants