From 60c6fa8be5fc8f7c516673d2253bf2ab9c9d940d Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Thu, 2 Oct 2025 13:49:30 +0000 Subject: [PATCH] Fix: Make photo management modal responsive on mobile --- src/components/ui/dialog.tsx | 2 +- .../upload/PhotoManagementDialog.tsx | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsx index 8249e2f0..150a5a70 100644 --- a/src/components/ui/dialog.tsx +++ b/src/components/ui/dialog.tsx @@ -36,7 +36,7 @@ const DialogContent = React.forwardRef< - + Edit Photo Update photo details @@ -274,7 +274,7 @@ export function PhotoManagementDialog({ return ( - + Manage Photos @@ -294,9 +294,9 @@ export function PhotoManagementDialog({
{photos.map((photo, index) => ( - -
-
+ +
+
{photo.title
-

+

{photo.title || 'Untitled'}

{photo.caption && ( -

+

{photo.caption}

)}
{photo.is_featured && ( - + Featured )}
-
+