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

feat:sticky navbar #2973

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

feat:sticky navbar #2973

wants to merge 2 commits into from

Conversation

chuygil
Copy link

@chuygil chuygil commented Mar 7, 2022

Fixes #2967

Changes Summary

Proposal for a sticky navbar per the issue mentioned above.

Currently, on mobile devices, the navbar has CSS property overflow-x: auto;, which makes you scroll through the nav options. Is this something that should stay as is, or would a mobile menu (dialog) be ideal?

This pull request is ready for review.

@@ -245,6 +244,11 @@ nav {
min-width: 100%;
overflow-x: auto;
white-space: nowrap;
position: sticky;
position: -webkit-sticky;
Copy link
Member

Choose a reason for hiding this comment

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

Pretty sure these two should be the other way around.

@@ -779,7 +784,7 @@ select,
.button {
appearance: none;
background-color: transparent;
background-image: linear-gradient(to bottom, transparent, transparent 50%, rgba(0, 0, 0, 0.04));
background-image: linear-gradient(to bottom, transparent, transparent 50%,rgba(0, 0, 0, 0.04));
Copy link
Member

Choose a reason for hiding this comment

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

Not sure why this space is removed.

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.

Make nav-bar sticky to for easy acces to user
2 participants