From deca3acacbf5de0859dcca23c65474dede131edb Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sun, 1 Sep 2024 00:01:17 -0500 Subject: [PATCH] Refine spacing --- src/photo/PhotoDetailPage.tsx | 2 +- src/photo/PhotoGridContainer.tsx | 2 +- src/photo/PhotoLarge.tsx | 8 ++++++-- src/photo/PhotoPrevNext.tsx | 18 ++++++++++++------ 4 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/photo/PhotoDetailPage.tsx b/src/photo/PhotoDetailPage.tsx index e86e5f5e..ecfd14d7 100644 --- a/src/photo/PhotoDetailPage.tsx +++ b/src/photo/PhotoDetailPage.tsx @@ -85,7 +85,7 @@ export default function PhotoDetailPage({ return (
{header &&
{photo.caption && -
+
{photo.caption}
} {(showCameraContent || showTagsContent) && @@ -233,7 +237,7 @@ export default function PhotoLarge({ photo={photo} className={clsx( 'text-medium', - // Prevent date collision with admin button + // Prevent collision with admin button !hasNonDateContent && isUserSignedIn && 'md:pr-7', )} /> diff --git a/src/photo/PhotoPrevNext.tsx b/src/photo/PhotoPrevNext.tsx index bf714327..37c276b0 100644 --- a/src/photo/PhotoPrevNext.tsx +++ b/src/photo/PhotoPrevNext.tsx @@ -101,10 +101,10 @@ export default function PhotoPrevNext({ 'flex items-center', className, )}> -
+
- + PREV - / + + / + - + NEXT