Skip to content

Commit 0f23806

Browse files
7487claude
andcommitted
fix: enable independent scrolling in sidebar navigation
When sidebar content overflows on desktop, users cannot scroll to see hidden items. Add flex-1 + overflow-y-auto + scroll-smooth to the .navigation class so each sidebar section scrolls independently within the sticky page layout. Co-Authored-By: Claude Opus 4.7 <[email protected]>
1 parent 620b605 commit 0f23806

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@reference "../../styles/index.css";
22

33
.wrapper {
4-
@apply ml:max-w-xs
4+
@apply ml:max-w-xs
55
ml:overflow-auto
66
ml:border-r
77
scrollbar-thin
@@ -16,18 +16,21 @@
1616
bg-white
1717
px-4
1818
pt-6
19-
2xl:px-6
19+
2xl:px-6
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

28-
.mobileSelect {
29-
@apply ml:hidden
31+
.mobileSelect {
32+
@apply ml:hidden
3033
flex
3134
w-full;
32-
}
35+
}
3336
}

0 commit comments

Comments
 (0)