fix styles in production

This commit is contained in:
Lea 2024-01-18 01:09:36 +01:00
parent 2bc0fbb080
commit 35fe908884
Signed by: Lea
GPG key ID: 1BAFFE8347019C42
2 changed files with 5 additions and 1 deletions

View file

@ -19,7 +19,7 @@ export default async function RootLayout({
}) { }) {
return ( return (
<html lang="en"> <html lang="en">
<body className={`p-4`}> <body className={`p-4 m-0`}>
<ThemeWrapper> <ThemeWrapper>
<BackgroundImage /> <BackgroundImage />
<AuthWrapper session={await getServerSession()}> <AuthWrapper session={await getServerSession()}>

View file

@ -13,6 +13,10 @@ const config: Config = {
}, },
}, },
}, },
corePlugins: {
// This messes up the button styles for some reason, but only in production builds
preflight: false,
},
plugins: [], plugins: [],
}; };
export default config; export default config;