diff --git a/ts/components/FileThumbnail.dom.tsx b/ts/components/FileThumbnail.dom.tsx index a4c7a7e4e0..030cb67b7b 100644 --- a/ts/components/FileThumbnail.dom.tsx +++ b/ts/components/FileThumbnail.dom.tsx @@ -18,7 +18,7 @@ export function FileThumbnail(props: PropsType): JSX.Element { className={tw( 'flex items-center justify-center', 'relative', - 'mx-1.5 h-10 w-7.5', + 'mx-0.75 h-10 w-7.5', 'bg-contain bg-center bg-no-repeat', 'bg-[url(../images/generic-file.svg)]' )} diff --git a/ts/components/conversation/media-gallery/AttachmentSection.dom.tsx b/ts/components/conversation/media-gallery/AttachmentSection.dom.tsx index c90971f451..5f1558067d 100644 --- a/ts/components/conversation/media-gallery/AttachmentSection.dom.tsx +++ b/ts/components/conversation/media-gallery/AttachmentSection.dom.tsx @@ -75,7 +75,7 @@ export function AttachmentSection({ case 'media': return (
-

{header}

+

{header}

{verified.entries.map(mediaItem => { return ( @@ -94,8 +94,8 @@ export function AttachmentSection({ case 'audio': case 'link': return ( -
-

{header}

+
+

{header}

{verified.entries.map(mediaItem => { return ( diff --git a/ts/components/conversation/media-gallery/LinkPreviewItem.dom.tsx b/ts/components/conversation/media-gallery/LinkPreviewItem.dom.tsx index 550b2d01c1..aec3c95fd3 100644 --- a/ts/components/conversation/media-gallery/LinkPreviewItem.dom.tsx +++ b/ts/components/conversation/media-gallery/LinkPreviewItem.dom.tsx @@ -64,7 +64,7 @@ export function LinkPreviewItem({
diff --git a/ts/components/conversation/media-gallery/MediaGallery.dom.tsx b/ts/components/conversation/media-gallery/MediaGallery.dom.tsx index 40598bb3c9..5baa954569 100644 --- a/ts/components/conversation/media-gallery/MediaGallery.dom.tsx +++ b/ts/components/conversation/media-gallery/MediaGallery.dom.tsx @@ -168,8 +168,17 @@ function MediaSection({ ); }); + const isGrid = mediaItems.at(0)?.type === 'media'; + return ( -
{sections}
+
+ {sections} +
); }