mirror of
https://github.com/usememos/memos.git
synced 2025-11-09 17:01:36 +08:00
fix: media width
This commit is contained in:
parent
6d9770b9c8
commit
1a3fc4d874
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue