Skip to content

Commit

Permalink
fix: adjust height calculation in DesktopPanel to account for toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Koech authored and Kevin Koech committed Feb 4, 2025
1 parent d003155 commit 4f9fa01
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ function DesktopPanel({ sx, ...props }) {
border: "none",
display: "flex",
flexDirection: "row",
// Setting Drawer persistent causes header to be non sticky. We are setting the height to 100vh - 88px to account for the toolbar height.
height: "calc(100vh - 88px)", // Toolbar height
overflowY: "visible",
position: "relative",
top: 0, // Toolbar height
top: 0,
}),
}}
>
Expand Down

0 comments on commit 4f9fa01

Please sign in to comment.