Skip to content

Commit ef05583

Browse files
committed
fix(ui): Sidebar scroll not showing last element
1 parent b9868df commit ef05583

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
2xl:grid-cols-[--spacing(72)_1fr_--spacing(72)];
1717

1818
> *:nth-child(1) {
19-
@apply ml:sticky
20-
ml:top-0
21-
ml:h-svh
22-
ml:overflow-y-auto
23-
[grid-area:sidebar];
19+
@apply [grid-area:sidebar]
20+
lg:sticky
21+
lg:top-0
22+
lg:max-h-[calc(100vh-var(--header-height,0))]
23+
lg:overflow-y-auto;
2424
}
2525

2626
> *:nth-child(2) {

0 commit comments

Comments
 (0)