Skip to content

Commit

Permalink
fix: Push list offset fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hampfh committed Nov 19, 2024
1 parent 44eac6c commit 182a12e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/student/map/_components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ function SidebarContainer({
<div
className="overflow-scroll overscroll-none"
style={{
height: `calc(100vh - ${headerHeight ?? 0}px)`
height: `calc(100dvh - ${headerHeight ?? 0}px)`
}}>
{children}
</div>
Expand All @@ -368,7 +368,7 @@ function SidebarContainer({
<ScrollArea
className=""
style={{
height: `calc(100vh - ${headerHeight ?? 0}px - 64px)`
height: `calc(100dvh - ${headerHeight ?? 0}px - 64px)`
}}>
{children}
<ScrollBar></ScrollBar>
Expand Down

0 comments on commit 182a12e

Please sign in to comment.