From 4e9b08472aeb42f1db82bfe6fcaf9d957083ecb4 Mon Sep 17 00:00:00 2001 From: jarebearzilla Date: Sun, 21 Sep 2025 20:52:18 -0400 Subject: [PATCH] Fix height issues with mobile nav and mobile presenter dialog on iOS --- ui/components/nav.scss | 2 +- ui/components/presenters.scss | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/components/nav.scss b/ui/components/nav.scss index 12829f5..daf1c42 100644 --- a/ui/components/nav.scss +++ b/ui/components/nav.scss @@ -233,7 +233,7 @@ } &[data-expanded="true"] { - height: 100vh; + height: 100dvh; overflow-y: auto; .nav__menu { diff --git a/ui/components/presenters.scss b/ui/components/presenters.scss index 99b8c32..a0f4815 100644 --- a/ui/components/presenters.scss +++ b/ui/components/presenters.scss @@ -77,7 +77,7 @@ max-width: 45.4275rem; padding: 4.4375rem 5.4375rem; padding-bottom: var(--space-3); - height: min(calc(100vh - var(--space-2)), 35rem); + height: min(calc(100dvh - var(--space-2)), 35rem); overflow: auto; .dialog-close { @@ -209,8 +209,8 @@ border: none; width: 100vw; max-width: 100vw; - height: 100vh; - max-height: 100vh; + height: 100dvh; + max-height: 100dvh; padding-inline: var(--space-3); .dialog-close {