diff --git a/web/packages/gallery/components/FileInfo.tsx b/web/packages/gallery/components/FileInfo.tsx index e7af9061c4..8c919ab0b1 100644 --- a/web/packages/gallery/components/FileInfo.tsx +++ b/web/packages/gallery/components/FileInfo.tsx @@ -714,29 +714,24 @@ const CreationTime: React.FC = ({ return ( <> - - } - title={formattedDate(originalDate)} - caption={formattedTime(originalDate)} - trailingButton={ - allowEdits && ( - - ) - } + } + title={formattedDate(originalDate)} + caption={formattedTime(originalDate)} + trailingButton={ + allowEdits && ( + + ) + } + /> + {isInEditMode && ( + - {isInEditMode && ( - - )} - + )} ); };