fix: allow copying message stream text

This commit is contained in:
TerryM
2026-05-26 18:03:07 +08:00
parent 625d9fbb42
commit e0629c9df7
8 changed files with 24 additions and 8 deletions

View File

@@ -63,7 +63,7 @@ export function FileDocBubble({ post }: { post: Post }) {
<AttachmentRow key={att.id} postId={post.id} att={att} />
))}
{text ? (
<div className="mt-1 whitespace-pre-wrap break-words text-[14px] leading-snug text-neutral-100">
<div className="message-stream-copyable-text mt-1 select-text whitespace-pre-wrap break-words text-[14px] leading-snug text-neutral-100">
{text}
</div>
) : null}