diff --git a/apps/web/src/web/components/layout/index.tsx b/apps/web/src/web/components/layout/index.tsx index 071526e..5e5902e 100644 --- a/apps/web/src/web/components/layout/index.tsx +++ b/apps/web/src/web/components/layout/index.tsx @@ -13,7 +13,7 @@ const Layout = (props: Readonly) => { styles={(theme) => { return { body: { - backgroundColor: 'background.surface', + backgroundColor: theme.palette.background.surface, }, '*::-webkit-scrollbar': { width: 8, diff --git a/apps/web/src/web/components/pages/index/common.tsx b/apps/web/src/web/components/pages/index/common.tsx index e9a764a..b793bda 100644 --- a/apps/web/src/web/components/pages/index/common.tsx +++ b/apps/web/src/web/components/pages/index/common.tsx @@ -552,6 +552,7 @@ const GenerateClassificationSelect = () => { props.router.push(href, undefined, { shallow: true, + scroll: false, }); }, }); @@ -574,6 +575,7 @@ const GenerateSpdfSelect = () => { props.router.push(href, undefined, { shallow: true, + scroll: false, }); }, });