From c482c9fea21d6d1bc10626961af1ace5cdbe33d1 Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 6 Oct 2024 00:20:14 +0600 Subject: [PATCH] web/layout: do iphone landscape optimizations only when appropriate --- web/src/routes/+layout.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte index 9ff435a9..598f71da 100644 --- a/web/src/routes/+layout.svelte +++ b/web/src/routes/+layout.svelte @@ -259,7 +259,7 @@ } /* add padding for notch / dynamic island in landscape */ - @media screen and (orientation: landscape) { + @media screen and (orientation: landscape) and (min-width: 535px) { #cobalt[data-iphone="true"] { grid-template-columns: calc(