🩹 Fix drawer on scroll
Tim Izzo tim@octree.ch
Tue, 23 Aug 2022 11:58:03 +0200
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
frontend/layouts/Event.tsx
→
frontend/layouts/Event.tsx
@@ -56,6 +56,8 @@ <Box
flex={1} display="flex" alignItems="stretch" + height="calc(100% - 56px)" + overflow="hidden" flexDirection={isMobile ? 'column-reverse' : 'row'} > <DrawerMenu />@@ -76,6 +78,8 @@ const useStyles = makeStyles(theme => ({
content: { flex: 1, maxWidth: 'calc(100% - 85px)', + overflow: 'auto', + paddingBottom: theme.spacing(4), [theme.breakpoints.down('sm')]: { maxWidth: '100%',