diff --git a/.eslintrc.cjs b/.eslintrc.cjs index c75a1d04..adce1c2c 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -20,6 +20,7 @@ module.exports = { "max-len": "error", "no-shadow": "off", "no-unused-vars": "off", + "no-useless-return": "error", "object-shorthand": "error", "prefer-const": "error", "prefer-template": "error", diff --git a/src/components/Intro_panel/index.tsx b/src/components/Intro_panel/index.tsx index 3a0efcea..d57413e6 100644 --- a/src/components/Intro_panel/index.tsx +++ b/src/components/Intro_panel/index.tsx @@ -38,6 +38,11 @@ const IntroPanel = (props: Props) => { justifyContent="space-between" minHeight="100%" overflow="hidden" + sx={{ + [theme.breakpoints.down("tablet")]: { + maxWidth: "calc(100vw - 40px)", + }, + }} > { display: "flex", flexDirection: "column", borderRadius: "24px", + maxWidth: "calc(100vw - 40px)", background: "#FFF", boxShadow: "0px 10px 32px -4px rgba(96, 60, 238, 0.10), 0px 6px 14px -6px rgba(96, 60, 238, 0.28)",