From d6238e46bc213ce1e52cedc83138f2e7aafb47ac Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 2 Jan 2026 12:49:40 -0500 Subject: [PATCH] Keep gallery row inside preview --- src/components/Map/MapView.jsx | 24 ++++++++++++------------ src/styles/map.css | 4 +++- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/src/components/Map/MapView.jsx b/src/components/Map/MapView.jsx index 9681095..02aa34a 100644 --- a/src/components/Map/MapView.jsx +++ b/src/components/Map/MapView.jsx @@ -1718,18 +1718,18 @@ export default function MapView({ {formatPreviewDate(draftPublishedAt)} ) : null} - - )} - {galleryItems.length > 0 && ( -
- {galleryItems.map((url, idx) => ( -
- {`Preview -
- ))} + {galleryItems.length > 0 && ( +
+ {galleryItems.map((url, idx) => ( +
+ {`Preview +
+ ))} +
+ )}
)}