-
Notifications
You must be signed in to change notification settings - Fork 492
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
feat: responsive nav #877
feat: responsive nav #877
Conversation
License: MIT Signed-off-by: Oli Evans <oli@tableflip.io>
It looks AMAZING @olizilla ! 💖 Small nitpick:
|
@lidel wat is that bar. Can you inspect it and give me any more info? I don't see it on Firefox or Chrome on mac. |
I can't reproduce it either (macOS). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I the grey bar is.. scrollbar 🙃
I quess on macOS it has transparent background that is why you can't see it.
It disappeared when I removed overflow-x-scroll
class:
I wonder how it looks on MS Windows.
@hacdias are you able to check this branch?
@olizilla perhaps overflow-x-scroll
class should be added only in narrow contexts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that fixed it 👍 :)
This is a minimal implementation of a responsive nav as part of #871
We can go fancier in the future, but this is a minimal change to behave reasonably on small screens.
On small screens, the navbar has a horizontal scroll, so you can swipe across to see the other nav items.