Skip to content

Commit

Permalink
fix(ui): fix general background color
Browse files Browse the repository at this point in the history
  • Loading branch information
GervinFung committed Apr 16, 2024
1 parent f6b159d commit 99e05a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/web/components/layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Layout = (props: Readonly<PropsWithChildren>) => {
styles={(theme) => {
return {
body: {
backgroundColor: 'background.surface',
backgroundColor: theme.palette.background.surface,
},
'*::-webkit-scrollbar': {
width: 8,
Expand Down
2 changes: 2 additions & 0 deletions apps/web/src/web/components/pages/index/common.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ const GenerateClassificationSelect = () => {

props.router.push(href, undefined, {
shallow: true,
scroll: false,
});
},
});
Expand All @@ -574,6 +575,7 @@ const GenerateSpdfSelect = () => {

props.router.push(href, undefined, {
shallow: true,
scroll: false,
});
},
});
Expand Down

0 comments on commit 99e05a2

Please sign in to comment.