From 157470e8647b652c38e8fb881df4e624d2dc7191 Mon Sep 17 00:00:00 2001
From: schererleander <leander@schererleander.de>
Date: Fri, 26 Dec 2025 03:25:07 +0100
Subject: style(tailwind): add padding for small screens

---
 app/layout.tsx | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

(limited to 'app/layout.tsx')

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>
-- 
cgit v1.3.1

