fix: move default bg and text classes to body tag

This commit is contained in:
Matthew Russell
2023-07-18 13:16:13 +01:00
parent 97d34fd660
commit f474672d03
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ function AppBody({ Component }: AppProps) {
'grid-rows-[repeat(3,min-content),minmax(0,1fr)]'
);
return (
<div className="font-alpha h-full bg-white dark:bg-vega-cdark-900 text-default overflow-hidden">
<div className="h-full overflow-hidden">
<Head>
{/* Cannot use meta tags in _document.page.tsx see https://nextjs.org/docs/messages/no-document-viewport-meta */}
<meta name="viewport" content="width=device-width, initial-scale=1" />
+1 -1
View File
@@ -21,7 +21,7 @@ export default function Document() {
/>
<script src="/theme-setter.js" type="text/javascript" async />
</Head>
<body>
<body className="bg-white dark:bg-vega-cdark-900 text-default font-alpha">
<Main />
<NextScript />
</body>