From 7c5630e8c169f184de060187c3782cb00328c28e Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Tue, 26 Aug 2025 20:45:44 -0500 Subject: [PATCH] Prevent thumbnail blocking form actions --- src/photo/PhotoEditPageClient.tsx | 1 + src/photo/UploadPageClient.tsx | 1 + src/photo/form/PhotoForm.tsx | 6 +++++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/photo/PhotoEditPageClient.tsx b/src/photo/PhotoEditPageClient.tsx index 7f58f1ea..7844f83f 100644 --- a/src/photo/PhotoEditPageClient.tsx +++ b/src/photo/PhotoEditPageClient.tsx @@ -65,6 +65,7 @@ export default function PhotoEditPageClient({ } } isLoading={pending} > diff --git a/src/photo/form/PhotoForm.tsx b/src/photo/form/PhotoForm.tsx index 83a2bf60..04bf26e3 100644 --- a/src/photo/form/PhotoForm.tsx +++ b/src/photo/form/PhotoForm.tsx @@ -329,7 +329,11 @@ export default function PhotoForm({
{thumbnail(true)} -
+
{thumbnail(false, clsx( 'opacity-0 -translate-y-4', !isThumbnailVisible &&