From 3302b2d0f61b44d27b1bbd736db37efc9f7740ca Mon Sep 17 00:00:00 2001 From: Innei Date: Wed, 25 Jun 2025 17:48:19 +0800 Subject: [PATCH] fix: improve layout and styling in RawExifViewer component - Adjusted the styling of the ExifDataRow component to use 'self-start' for better alignment of labels. - Modified the container div in RawExifViewer to ensure a minimum width, enhancing layout consistency. Signed-off-by: Innei --- apps/web/src/components/ui/photo-viewer/RawExifViewer.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/ui/photo-viewer/RawExifViewer.tsx b/apps/web/src/components/ui/photo-viewer/RawExifViewer.tsx index f860fdcd..10bc7cce 100644 --- a/apps/web/src/components/ui/photo-viewer/RawExifViewer.tsx +++ b/apps/web/src/components/ui/photo-viewer/RawExifViewer.tsx @@ -41,7 +41,7 @@ const parseRawExifData = (rawData: string): ParsedExifData => { const ExifDataRow = ({ label, value }: { label: string; value: string }) => (
- + {label} @@ -378,8 +378,9 @@ export const RawExifViewer: React.FC = ({ -
+
{/* Basic File Information */} {getCategoryData(categories.basic).length > 0 && (