aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/layout.tsx28
1 files changed, 15 insertions, 13 deletions
diff --git a/app/layout.tsx b/app/layout.tsx
index 894989f..18db17a 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -24,19 +24,21 @@ export default function Layout({
customDomain="https://analytics.schererleander.de"
selfHosted
>
- <ThemeProvider
- attribute="class"
- defaultTheme="system"
- enableSystem
- disableTransitionOnChange
- >
- <Header />
- <main className="mx-auto max-w-[var(--site-width)]">
- {children}
- </main>
- <Footer />
- <Noise />
- </ThemeProvider>
+ <ThemeProvider
+ attribute="class"
+ defaultTheme="system"
+ enableSystem
+ disableTransitionOnChange
+ >
+ <div className="relative min-h-full px-4">
+ <Header />
+ <main className="mx-auto max-w-[var(--site-width)]">
+ {children}
+ </main>
+ <Footer />
+ <Noise />
+ </div>
+ </ThemeProvider>
</PlausibleProvider>
</body>
</html>