From da1af00aaa2cae9fd7d422f8b72bcce734bb0982 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 2 Jan 2026 12:54:04 -0500 Subject: [PATCH] Thumbnails row only below preview --- src/components/Map/MapView.jsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/Map/MapView.jsx b/src/components/Map/MapView.jsx index 02aa34a..3bdbcf8 100644 --- a/src/components/Map/MapView.jsx +++ b/src/components/Map/MapView.jsx @@ -1456,6 +1456,9 @@ export default function MapView({ const galleryItems = draftMediaUrls.filter( (url) => url && url !== LINK_PREVIEW_PLACEHOLDER ); + const galleryThumbnails = galleryItems.slice( + galleryPreviewImage ? 1 : 0 + ); const isLinkMode = contentMode === "link"; return ( @@ -1718,14 +1721,14 @@ export default function MapView({ {formatPreviewDate(draftPublishedAt)} ) : null} - {galleryItems.length > 0 && ( -
- {galleryItems.map((url, idx) => ( + {galleryThumbnails.length > 0 && ( +
+ {galleryThumbnails.map((url, idx) => (
- {`Preview + {`Preview
))}