Skip to content

Commit 895b3e7

Browse files
committed
fix(ui): adjust sidebar styles for improved layout and scrolling behavior
1 parent ef05583 commit 895b3e7

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
@apply [grid-area:sidebar]
2020
lg:sticky
2121
lg:top-0
22-
lg:max-h-[calc(100vh-var(--header-height,0))]
22+
lg:max-h-screen
23+
lg:self-stretch
2324
lg:overflow-y-auto;
2425
}
2526

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@
1616
border-neutral-200
1717
bg-white
1818
px-4
19-
pt-6
20-
2xl:px-6
19+
py-6
20+
sm:overflow-auto
21+
sm:border-r
22+
sm:pb-16
23+
md:max-w-xs
24+
lg:px-6
2125
dark:border-neutral-900
2226
dark:bg-neutral-950;
2327

0 commit comments

Comments
 (0)