Skip to content

Commit

Permalink
Merge pull request #488 from Magickbase/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY authored Aug 23, 2022
2 parents ca319ae + 843e4b4 commit 2fe8dfd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const AccordionDetails = styled(MuiAccordionDetails)(({ theme }) => ({
},
}))

const StyledMenu = styled((props: MenuProps) => <HoverMenu {...props} />)(({ theme }) => ({
const StyledMenu = styled((props: MenuProps) => <HoverMenu disableScrollLock={true} {...props} />)(({ theme }) => ({
'& .MuiPaper-root': {
borderRadius: theme.spacing(1),
boxShadow: `0px 4px 9px ${theme.palette.primary.light}`,
Expand Down
6 changes: 3 additions & 3 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -636,10 +636,10 @@ const Home = () => {
return (
<Box sx={{ pb: { xs: 5, md: 11 } }}>
<Box sx={{ bgcolor: 'primary.light' }}>
<Container sx={{ px: { md: 3, lg: 1 } }}>
<Container sx={{ px: { md: 3, lg: 0 } }}>
<Search />
</Container>
<Container sx={{ px: { md: 3, lg: 1 }, pr: { xs: 0 } }}>
<Container sx={{ px: { md: 3, lg: 0 }, pr: { xs: 0 } }}>
<Stack
direction="row"
sx={{ pt: 2.5, pb: 1, overflow: 'hidden' }}
Expand Down Expand Up @@ -670,7 +670,7 @@ const Home = () => {
</Stack>
</Container>
</Box>
<Container sx={{ px: { md: 2, lg: 1 } }}>
<Container sx={{ px: { md: 2, lg: 0 } }}>
<Stack
direction={{ xs: 'column', sm: 'column', md: 'column', lg: 'row' }}
spacing={4}
Expand Down
5 changes: 5 additions & 0 deletions styles/globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
--amount-frac-color: #938dac;
}

html {
overflow-x: hidden;
width: 100vw;
}

html,
body {
font-size: 16px;
Expand Down

1 comment on commit 2fe8dfd

@vercel
Copy link

@vercel vercel bot commented on 2fe8dfd Aug 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.