From ca482842527ac9468522167d1789e0f04510f630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Sun, 12 Apr 2026 19:34:25 +0200 Subject: [PATCH] Fix iOS safe area: header respects notch, chart respects home indicator - viewport-fit=cover enables safe area insets in Safari - Header: pt-[max(0.5rem,env(safe-area-inset-top))] clears the notch - Elevation chart: pb-[max(0.5rem,env(safe-area-inset-bottom))] clears the home indicator bar Co-Authored-By: Claude Opus 4.6 (1M context) --- apps/planner/app/components/ElevationChart.tsx | 2 +- apps/planner/app/components/SessionView.tsx | 2 +- apps/planner/app/root.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/planner/app/components/ElevationChart.tsx b/apps/planner/app/components/ElevationChart.tsx index cd832d4..fa98b32 100644 --- a/apps/planner/app/components/ElevationChart.tsx +++ b/apps/planner/app/components/ElevationChart.tsx @@ -878,7 +878,7 @@ export function ElevationChart({ yjs, onHover, highlightDistance, onClickPositio if (points.length < 2) return null; return ( -
+
{(() => { const osmLinks: Record = { diff --git a/apps/planner/app/components/SessionView.tsx b/apps/planner/app/components/SessionView.tsx index 4f66b20..8131d42 100644 --- a/apps/planner/app/components/SessionView.tsx +++ b/apps/planner/app/components/SessionView.tsx @@ -223,7 +223,7 @@ export function SessionView({ sessionId, callbackUrl, callbackToken, returnUrl, return ( <> -
+
{t("title")} diff --git a/apps/planner/app/root.tsx b/apps/planner/app/root.tsx index cb6df2b..bf20d8e 100644 --- a/apps/planner/app/root.tsx +++ b/apps/planner/app/root.tsx @@ -13,7 +13,7 @@ export function Layout({ children }: { children: React.ReactNode }) { - +