-
Notifications
You must be signed in to change notification settings - Fork 6.5k
fix: add overflow-auto to sidebar navigation (#8521) #8844
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -84,11 +84,6 @@ | |
| "link": "https://discord.gg/nodejs", | ||
| "alt": "Discord" | ||
| }, | ||
| { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unrelated Mastodon link removal bundled in CSS-only PRMedium Severity The Mastodon social link entry was removed from the Reviewed by Cursor Bugbot for commit 9d673ae. Configure here. |
||
| "icon": "mastodon", | ||
| "link": "https://social.lfx.dev/@nodejs", | ||
| "alt": "Mastodon" | ||
| }, | ||
| { | ||
| "icon": "bluesky", | ||
| "link": "https://bsky.app/profile/nodejs.org", | ||
|
|
@@ -170,4 +165,4 @@ | |
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -20,10 +20,13 @@ | |||||
| dark:border-neutral-900 | ||||||
| dark:bg-neutral-950; | ||||||
|
|
||||||
| .navigation { | ||||||
| @apply ml:flex | ||||||
| .navigation { | ||||||
| @apply ml:flex | ||||||
| flex-1 | ||||||
| overflow-y-auto | ||||||
| scroll-smooth | ||||||
|
||||||
| scroll-smooth | |
| motion-safe:scroll-smooth |
Copilot
AI
Apr 25, 2026
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.
.navigation is applied to each SidebarGroup (one per group), so adding flex-1 + overflow-y-auto here will create multiple independently scrollable sections and may force groups to share the available height rather than size to content. If the goal is a single scrollable sidebar navigation, move the overflow/flex behavior to the sidebar container (or add a dedicated wrapper around all groups) instead of applying it per group.


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.
Changes to this file are unrelated to the PR, please revert