Skip to content

Commit 9d673ae

Browse files
7487claude
andcommitted
fix: add overflow-auto to sidebar navigation (#8521)
When sidebar content overflows the viewport on desktop, users cannot scroll to see hidden items. Add flex-1 + overflow-y-auto + scroll-smooth to make the sidebar independently scrollable within the page layout. Co-Authored-By: Claude Opus 4.7 <[email protected]>
1 parent 1e67e28 commit 9d673ae

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

packages/ui-components/src/Containers/Sidebar/index.module.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@
2020
dark:border-neutral-900
2121
dark:bg-neutral-950;
2222

23-
.navigation {
24-
@apply ml:flex
23+
.navigation {
24+
@apply ml:flex
25+
flex-1
26+
overflow-y-auto
27+
scroll-smooth
2528
hidden;
26-
}
29+
}
2730

2831
.mobileSelect {
2932
@apply ml:hidden

0 commit comments

Comments
 (0)