From 843e4b44e65b402863cdc93dd4ee6bf7d4cca944 Mon Sep 17 00:00:00 2001 From: Qiwei Yang Date: Tue, 23 Aug 2022 14:31:09 +0800 Subject: [PATCH] fix: home page content width & scroll bar problem (#480) Co-authored-by: Chen Yu --- components/Header.tsx | 2 +- pages/index.tsx | 6 +++--- styles/globals.scss | 5 +++++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/components/Header.tsx b/components/Header.tsx index 5c8d22f0c..eb916dfd5 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -76,7 +76,7 @@ const AccordionDetails = styled(MuiAccordionDetails)(({ theme }) => ({ }, })) -const StyledMenu = styled((props: MenuProps) => )(({ theme }) => ({ +const StyledMenu = styled((props: MenuProps) => )(({ theme }) => ({ '& .MuiPaper-root': { borderRadius: theme.spacing(1), boxShadow: `0px 4px 9px ${theme.palette.primary.light}`, diff --git a/pages/index.tsx b/pages/index.tsx index f458f0096..36dc2f5a8 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -636,10 +636,10 @@ const Home = () => { return ( - + - + { - +