fix sticky sidebar

This commit is contained in:
Alex Holliday committed 2025-08-01 15:14:03 -07:00
1 parent 800f988979
commit fe9bf6375f
3 files changed
+11 -3

No files matched your search

+8 -2
View File
@@ -91,9 +91,15 @@ const Sidebar = () => {
return (
<Stack
width={collapsed ? "64px" : "var(--env-var-side-bar-width)"}
height="100vh"
width={
collapsed
? "var(--env-var-side-bar-collapsed-width)"
: "var(--env-var-side-bar-width)"
}
component="aside"
position="relative"
position="sticky"
top={0}
borderRight={`1px solid ${theme.palette.primary.lowContrast}`}
paddingTop={theme.spacing(6)}
paddingBottom={theme.spacing(6)}