From 6de9f04b3f563ac99c3690ab38a90e308445eae2 Mon Sep 17 00:00:00 2001 From: iamdoubz <> Date: Thu, 5 Nov 2026 22:05:33 -0600 Subject: [PATCH] Fix the unlabeled Edit button, iOS zoom, and pinned photo on short screens --- frontend/src/routes/Review.svelte | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/routes/Review.svelte b/frontend/src/routes/Review.svelte index 5dfa070..db4a581 100644 --- a/frontend/src/routes/Review.svelte +++ b/frontend/src/routes/Review.svelte @@ -334,6 +334,11 @@ .photo-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); } .photo-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s1) var(--s1) var(--s1) var(--s3); border-bottom: 1px solid var(--border); min-height: 48px; } .photo { max-height: 36dvh; overflow: auto; background: var(--surface-2); } + /* Short screens (phone landscape) and open edit forms need the room more than the pinned photo does. */ + @media (max-width: 959px) { + .layout:has(:global(.editor)) .photo-col { position: static; } + } + @media (max-width: 959px) and (max-height: 500px) { .photo-col { position: static; } } .frame { position: relative; } .frame img { display: block; width: 100%; height: auto; } .zoom .frame { width: 250%; } @@ -343,7 +348,7 @@ .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); } .bulk { display: flex; flex-direction: column; gap: var(--s3); border-color: var(--primary); } .kind-set { display: inline-flex; gap: var(--s2); } - .kind-set select { width: auto; min-height: 44px; padding: 0 var(--s2); font-size: var(--fs-sm); } + .kind-set select { width: auto; min-height: 44px; padding: 0 var(--s2); } /* 16px: smaller makes iOS zoom in */ .new-event { display: flex; flex-direction: column; gap: var(--s2); } .section-title.warn { color: var(--warn); } @@ -385,5 +390,4 @@ background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-3); } @media (min-width: 1024px) { .publish-bar { bottom: var(--s4); } } - @media (max-width: 420px) { .hide-sm { display: none; } }