Commit 1a3fc4d8 authored by Johnny's avatar Johnny

fix: media width

parent 6d9770b9
...@@ -74,7 +74,7 @@ const MemoAttachmentListView = ({ attachments = [] }: { attachments: Attachment[ ...@@ -74,7 +74,7 @@ const MemoAttachmentListView = ({ attachments = [] }: { attachments: Attachment[
const MediaList = ({ attachments = [] }: { attachments: Attachment[] }) => { const MediaList = ({ attachments = [] }: { attachments: Attachment[] }) => {
const cards = attachments.map((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} /> <MediaCard className="max-h-64 grow" attachment={attachment} />
</div> </div>
)); ));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment