From fdaed1033aa30b59a9bfbd4dac6ff37437a25f97 Mon Sep 17 00:00:00 2001 From: Mischa Date: Sun, 21 Jun 2026 20:48:13 +0200 Subject: [PATCH] fix(ios): use 100dvh for PhotoSwipe to fix dynamic viewport iOS Safari freezes 100vh at the initial viewport height (address bar visible). 100dvh tracks the live viewport as browser chrome shows/hides. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr --- themes/intotheeast/css/style.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/themes/intotheeast/css/style.css b/themes/intotheeast/css/style.css index 6d2311a..077aae1 100644 --- a/themes/intotheeast/css/style.css +++ b/themes/intotheeast/css/style.css @@ -455,6 +455,9 @@ body::after { .pswp__bg { background: #000; } +/* iOS Safari: 100vh freezes when address bar hides; dvh tracks the live viewport */ +.pswp { height: 100dvh; } + /* ── Map page ────────────────────────────────────────────────────────────────── */ .map-page .site-main { max-width: none; padding: 0; }