fixed bug scroll

This commit is contained in:
Amirhossein Mahmoodi
2024-07-14 10:50:21 +03:30
parent 6e4adf477f
commit 05220421d1

View File

@@ -85,13 +85,12 @@ const HeaderWithSidebar = ({ children }) => {
width: drawerWidth, width: drawerWidth,
flexShrink: 0, flexShrink: 0,
"& .MuiDrawer-paper": { "& .MuiDrawer-paper": {
height: "-webkit-fill-available",
overflow: "hidden", overflow: "hidden",
width: drawerWidth, width: drawerWidth,
boxSizing: "border-box", boxSizing: "border-box",
borderTop: 1, borderTop: 1,
borderTopColor: "divider", borderTopColor: "divider",
top: "unset", position: 'inherit'
}, },
}} }}
variant="persistent" variant="persistent"