Skip to content

Commit 182a12e

Browse files
committed
fix: Push list offset fix
1 parent 44eac6c commit 182a12e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/student/map/_components/Sidebar.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ function SidebarContainer({
349349
<div
350350
className="overflow-scroll overscroll-none"
351351
style={{
352-
height: `calc(100vh - ${headerHeight ?? 0}px)`
352+
height: `calc(100dvh - ${headerHeight ?? 0}px)`
353353
}}>
354354
{children}
355355
</div>
@@ -368,7 +368,7 @@ function SidebarContainer({
368368
<ScrollArea
369369
className=""
370370
style={{
371-
height: `calc(100vh - ${headerHeight ?? 0}px - 64px)`
371+
height: `calc(100dvh - ${headerHeight ?? 0}px - 64px)`
372372
}}>
373373
{children}
374374
<ScrollBar></ScrollBar>

0 commit comments

Comments
 (0)