fix: media width

This commit is contained in:
Johnny 2025-07-21 23:55:28 +08:00
parent 6d9770b9c8
commit 1a3fc4d874

View file

@ -74,7 +74,7 @@ const MemoAttachmentListView = ({ attachments = [] }: { attachments: Attachment[
const MediaList = ({ attachments = [] }: { attachments: Attachment[] }) => {
const cards = attachments.map((attachment) => (
<div key={attachment.name} className="max-w-[70%] grow flex flex-col justify-start items-start shrink-0">
<div key={attachment.name} className="max-w-[60%] w-fit flex flex-col justify-start items-start shrink-0">
<MediaCard className="max-h-64 grow" attachment={attachment} />
</div>
));