diff --git a/src/timelines/MediaAttachmentGrid.tsx b/src/timelines/MediaAttachmentGrid.tsx index 0fa0b1c..567e67c 100644 --- a/src/timelines/MediaAttachmentGrid.tsx +++ b/src/timelines/MediaAttachmentGrid.tsx @@ -89,7 +89,7 @@ const MediaAttachmentGrid: Component<{ const realHeight = height && height > maxHeight ? maxHeight : height; const realWidth = width && height && height > maxHeight - ? maxHeight / (aspectRatio ?? 1) + ? maxHeight * (aspectRatio ?? 1) : width; const style = () => loaded()