diff --git a/src/app/chat/components/message-content.tsx b/src/app/chat/components/message-content.tsx index 8d5ff775..f4778ecf 100644 --- a/src/app/chat/components/message-content.tsx +++ b/src/app/chat/components/message-content.tsx @@ -81,7 +81,6 @@ export function MessageContent({ {hasAudio && audioUrl ? ( ) : null} diff --git a/src/app/chat/components/voice-bubble.module.css b/src/app/chat/components/voice-bubble.module.css index c0eedf57..590c8061 100644 --- a/src/app/chat/components/voice-bubble.module.css +++ b/src/app/chat/components/voice-bubble.module.css @@ -96,14 +96,6 @@ height: 26px; } -.text { - margin: 0; - font-size: var(--font-size-md, 14px); - line-height: 1.45; - white-space: pre-wrap; - word-break: break-word; -} - .error { margin: 0; color: var(--color-error, #ff4d4f); diff --git a/src/app/chat/components/voice-bubble.tsx b/src/app/chat/components/voice-bubble.tsx index 230be563..0b4133f3 100644 --- a/src/app/chat/components/voice-bubble.tsx +++ b/src/app/chat/components/voice-bubble.tsx @@ -7,13 +7,11 @@ import styles from "./voice-bubble.module.css"; export interface VoiceBubbleProps { audioUrl: string; - content?: string; isFromAI: boolean; } export function VoiceBubble({ audioUrl, - content = "", isFromAI, }: VoiceBubbleProps) { const audioRef = useRef(null); @@ -82,7 +80,6 @@ export function VoiceBubble({ - {content.length > 0 ? {content} : null} {hasError ? ( Voice message failed to load. ) : null}
{content}
Voice message failed to load.