From 2ccb98a6cbc40544e81eeeca2a2cbbaf8348f45e Mon Sep 17 00:00:00 2001 From: memoclaw Date: Sat, 7 Mar 2026 17:57:48 +0800 Subject: [PATCH] fix: render audio attachments as inline players (#5699) Co-authored-by: Claude Opus 4.6 --- .../components/metadata/AttachmentCard.tsx | 4 + .../components/metadata/AttachmentList.tsx | 80 ++++++++++++------- 2 files changed, 57 insertions(+), 27 deletions(-) diff --git a/web/src/components/MemoView/components/metadata/AttachmentCard.tsx b/web/src/components/MemoView/components/metadata/AttachmentCard.tsx index 2aadfb76..c5ce9dc9 100644 --- a/web/src/components/MemoView/components/metadata/AttachmentCard.tsx +++ b/web/src/components/MemoView/components/metadata/AttachmentCard.tsx @@ -28,6 +28,10 @@ const AttachmentCard = ({ attachment, onClick, className }: AttachmentCardProps) return