Skip to content

Commit

Permalink
Experimental fix for scrolling issues on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamoss committed Aug 8, 2024
1 parent f94db20 commit 773f89e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public-redesign/src/features/aboutPage/AboutPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { getAllFoodsAvailableOnStalls, getSupportingIconsForAboutPage, standalon
const StyledInteractableBoxFullHeight = styled(Box)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'light' ? grey[100] : grey[800],
overflowY: 'auto',
height: `100vh`,
height: `100dvh`,
padding: theme.spacing(2),
paddingBottom: appBarHeight,
}));
Expand Down
2 changes: 1 addition & 1 deletion public-redesign/src/features/mediaPage/MediaPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { appBarHeight } from '../addStall/addStallHelpers';
const StyledInteractableBoxFullHeight = styled(Box)(({ theme }) => ({
backgroundColor: theme.palette.mode === 'light' ? grey[100] : grey[800],
overflowY: 'auto',
height: `100vh`,
height: `100dvh`,
padding: theme.spacing(2),
paddingBottom: appBarHeight,
}));
Expand Down

0 comments on commit 773f89e

Please sign in to comment.