From a829c2818f3bd8a6307d2a89293ea6eaeb2b9d0e Mon Sep 17 00:00:00 2001 From: Timo Streule <48442147+tstreule@users.noreply.github.com> Date: Sat, 16 May 2026 00:33:09 +0200 Subject: [PATCH] fix: pad safe-area-inset-top --- app/[locale]/calendar/page.tsx | 2 +- app/[locale]/contacts/page.tsx | 2 +- app/[locale]/files/page.tsx | 2 +- app/[locale]/page.tsx | 6 +++--- app/[locale]/settings/page.tsx | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/[locale]/calendar/page.tsx b/app/[locale]/calendar/page.tsx index 0d158197..cbc40693 100644 --- a/app/[locale]/calendar/page.tsx +++ b/app/[locale]/calendar/page.tsx @@ -1216,7 +1216,7 @@ export default function CalendarPage() { }; return ( -
+
{/* Left Navigation Rail */} {!isMobile && (
diff --git a/app/[locale]/contacts/page.tsx b/app/[locale]/contacts/page.tsx index 8bcc3891..552424c2 100644 --- a/app/[locale]/contacts/page.tsx +++ b/app/[locale]/contacts/page.tsx @@ -649,7 +649,7 @@ export default function ContactsPage() { }; return ( -
+
{/* Navigation Rail - desktop only */} {!isMobile && (
diff --git a/app/[locale]/files/page.tsx b/app/[locale]/files/page.tsx index 261e73d6..df7bcdd2 100644 --- a/app/[locale]/files/page.tsx +++ b/app/[locale]/files/page.tsx @@ -374,7 +374,7 @@ export default function FilesPage() { if (!isAuthenticated) return null; return ( -
+
{!isMobile && (
-
+
{isRateLimited && rateLimitSecondsLeft !== null && (
@@ -2009,7 +2009,7 @@ export default function Home() { "flex-shrink-0 h-full z-50", !isResizing && "transition-[width] duration-300", // Mobile/Tablet: fixed overlay - "max-lg:fixed max-lg:inset-y-0 max-lg:left-0 max-lg:w-72", + "max-lg:fixed max-lg:inset-y-0 max-lg:left-0 max-lg:w-72 max-lg:pt-[env(safe-area-inset-top)]", "max-lg:transform max-lg:transition-transform max-lg:duration-300 max-lg:ease-in-out", !sidebarOpen && "max-lg:-translate-x-full", // Desktop: normal flow @@ -2418,7 +2418,7 @@ export default function Home() { isHorizontalMailLayout ? "min-h-0" : "h-full", // Mobile: full screen overlay when active "max-md:fixed max-md:inset-0 max-md:z-30", - "max-md:h-full", + "max-md:h-full max-md:pt-[env(safe-area-inset-top)]", isMobile && activeView !== "viewer" && "max-md:hidden", // Tablet/Desktop: relative "md:relative", diff --git a/app/[locale]/settings/page.tsx b/app/[locale]/settings/page.tsx index 99f4af15..14dbe9c1 100644 --- a/app/[locale]/settings/page.tsx +++ b/app/[locale]/settings/page.tsx @@ -686,7 +686,7 @@ export default function SettingsPage() { if (!isDesktop) { if (mobileShowContent) { return ( -
+