-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
style: make sidebars sticky #7132
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I'm not sure that I like how the left sidebar is also sticky. It means we need to scroll down to the bottom of every page to see the Modules/Diagnostics/Test Runner pages. Would be interested to hear others thoughts |
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.
I don't think this is a good change, sorry. The current layout is more suited for our needs. Thanks for the contribution tho!
the original issue was just to put the ToC in sticky so that it's always handy in the desktop. Which I don't think is too bad, but I don't think the lef nav should be stiky. |
034949b
to
3bad90e
Compare
That's fair. Updated to only make the Metabar sticky, but not the other bars |
Lighthouse Results
|
Thanks for the contribution ✨ -- appreciate your time! |
Description
Make sidebars "sticky" to the browser top, making it accessible when scrolled partially or entirely down the page
Validation
When scrolling down the page, sidebars should remain visible:
On mobile, layout should be unaffected:
Related Issues
Addresses #7122
Check List
npm run format
to ensure the code follows the style guide.npm run test
to check if all tests are passing.npx turbo build
to check if the website builds without errors.