From b801b124357fd96de52c37f8a5f9d35d3a419ec2 Mon Sep 17 00:00:00 2001 From: Paul Bailey Date: Sun, 16 Nov 2025 22:21:45 +0000 Subject: [PATCH] Put location and photo timestamp in same row for more compact layout --- src/components/report/ReportDetailModal.tsx | 43 +++++++++++---------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/src/components/report/ReportDetailModal.tsx b/src/components/report/ReportDetailModal.tsx index a93833b..857d07b 100644 --- a/src/components/report/ReportDetailModal.tsx +++ b/src/components/report/ReportDetailModal.tsx @@ -185,18 +185,29 @@ export function ReportDetailModal({ report, isOpen, onClose, onVerify, onDispute - {/* Location */} -
-

Location

-
-

- {Number(report.latitude).toFixed(6)}, {Number(report.longitude).toFixed(6)} -

-

- Source: {report.locationSource === 'exif' ? 'Photo EXIF data' : - report.locationSource === 'gps' ? 'Device GPS' : 'Manual selection'} -

+ {/* Location and Photo Timestamp */} +
+
+

Location

+
+

+ {Number(report.latitude).toFixed(6)}, {Number(report.longitude).toFixed(6)} +

+

+ Source: {report.locationSource === 'exif' ? 'Photo EXIF data' : + report.locationSource === 'gps' ? 'Device GPS' : 'Manual selection'} +

+
+ + {report.photoTimestamp && ( +
+

Photo Taken

+

+ {format(new Date(report.photoTimestamp), 'PPP')} at {format(new Date(report.photoTimestamp), 'p')} +

+
+ )}
{/* Description */} @@ -207,16 +218,6 @@ export function ReportDetailModal({ report, isOpen, onClose, onVerify, onDispute
)} - {/* Photo Timestamp */} - {report.photoTimestamp && ( -
-

Photo Taken

-

- {format(new Date(report.photoTimestamp), 'PPP')} at {format(new Date(report.photoTimestamp), 'p')} -

-
- )} - {/* Environmental Concerns */} {report.environmentalConcerns && report.environmentalConcerns.length > 0 && (