From c45ef86924a3f5099cb70d73392dfd0719d73c58 Mon Sep 17 00:00:00 2001 From: Timo Streule <48442147+tstreule@users.noreply.github.com> Date: Fri, 15 May 2026 22:41:16 +0200 Subject: [PATCH 1/3] fix: add viewport export with 'initialScale: 1' --- app/layout.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/layout.tsx b/app/layout.tsx index 573ed322..a6048171 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,4 +1,4 @@ -import type { Metadata } from "next"; +import type { Metadata, Viewport } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import { headers } from "next/headers"; import { getLocale } from "next-intl/server"; @@ -17,6 +17,11 @@ const geistMono = Geist_Mono({ subsets: ["latin"], }); +export const viewport: Viewport = { + width: "device-width", + initialScale: 1, +}; + export async function generateMetadata(): Promise { await configManager.ensureLoaded(); const faviconUrl = configManager.get("faviconUrl", "/branding/Bulwark_Favicon.svg"); From c54cf73c3add9424d4fe61354587bb782bdd4573 Mon Sep 17 00:00:00 2001 From: Timo Streule <48442147+tstreule@users.noreply.github.com> Date: Fri, 15 May 2026 23:27:53 +0200 Subject: [PATCH 2/3] fix: respect safe-area insets on mobile bottom bars --- app/layout.tsx | 1 + components/email/email-composer.tsx | 2 +- components/email/email-viewer.tsx | 4 ++-- components/layout/navigation-rail.tsx | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index a6048171..ec50f651 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -20,6 +20,7 @@ const geistMono = Geist_Mono({ export const viewport: Viewport = { width: "device-width", initialScale: 1, + viewportFit: "cover", }; export async function generateMetadata(): Promise { diff --git a/components/email/email-composer.tsx b/components/email/email-composer.tsx index 03e7593d..df932fb0 100644 --- a/components/email/email-composer.tsx +++ b/components/email/email-composer.tsx @@ -1793,7 +1793,7 @@ export function EmailComposer({ )} {/* Bottom toolbar */} -
+
{/* Left side actions */}
+