From 79bd96ac13ed2d0ed1485f2b998f56d019b900bd Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sat, 24 May 2025 18:35:07 -0500 Subject: [PATCH] Improve admin photo view on mobile --- src/admin/AdminPhotosTable.tsx | 40 +++++++++++++++++-------------- src/components/ResponsiveDate.tsx | 4 ++-- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/src/admin/AdminPhotosTable.tsx b/src/admin/AdminPhotosTable.tsx index b96dbf7f..1c7e44d7 100644 --- a/src/admin/AdminPhotosTable.tsx +++ b/src/admin/AdminPhotosTable.tsx @@ -60,7 +60,7 @@ export default function AdminPhotosTable({ className={opacityForPhotoId(photo.id)} />
- {titleForPhoto(photo, false)} - {photo.hidden && - {' '} - - } + + {titleForPhoto(photo, false)} + + {photo.hidden && + + + } {photo.priorityOrder !== null && }
- {<> - - {photoNeedsToBeSynced(photo) && + + {photoNeedsToBeSynced(photo) && + } - } + /> + }
{/* Medium */} {formatDate({ ...formatDateProps, length: 'medium' })} {/* Large */} {formatDate(formatDateProps)}