diff --git a/src/components/messageStream/bubbles/AlbumBubble.tsx b/src/components/messageStream/bubbles/AlbumBubble.tsx index af4d934..df06503 100644 --- a/src/components/messageStream/bubbles/AlbumBubble.tsx +++ b/src/components/messageStream/bubbles/AlbumBubble.tsx @@ -3,6 +3,7 @@ import { useEffect, useState } from "react"; import { createPortal } from "react-dom"; import { useI18n } from "../../../i18n"; import type { Attachment, Post } from "../../../types/post"; +import { AttachmentDownloadPill } from "../AttachmentDownloadPill"; import { useLightbox } from "../overlays/ImageLightbox"; import { autolink } from "../utils/autolink"; import { downloadAttachment } from "../utils/downloadFile"; @@ -147,21 +148,26 @@ export function AlbumBubble({ post }: { post: Post }) { return (
{images.map((att, i) => ( - + + +
))} {text ? (
@@ -181,30 +187,37 @@ export function AlbumBubble({ post }: { post: Post }) { {visible.map((att, i) => { const isLastSlot = i === MAX_VISIBLE - 1 && extra > 0; return ( - + {!isLastSlot ? ( + ) : null} - +
); })}