diff --git a/src/components/messageStream/bubbles/AlbumBubble.tsx b/src/components/messageStream/bubbles/AlbumBubble.tsx index 13f4619..a238382 100644 --- a/src/components/messageStream/bubbles/AlbumBubble.tsx +++ b/src/components/messageStream/bubbles/AlbumBubble.tsx @@ -27,60 +27,70 @@ export function AlbumBubble({ post }: { post: Post }) { return (
+ {/* aspect-ratio lives on the wrapper so the grid gets a *definite* height + (inset-0) and its fr rows stretch instead of collapsing to content. */}
- {visible.map((att, i) => { - const isLastSlot = i === MAX_VISIBLE - 1 && extra > 0; - const tile = layout?.tiles[i]; - return ( -
- + {!isLastSlot ? ( + ) : null} - - {!isLastSlot ? ( - - ) : null} -
- ); - })} +
+ ); + })} +
{text ? (