Merge branch 'main' into migmc9-codex/optimize-askaidialog-display-format

This commit is contained in:
shenlan 2025-08-13 17:35:12 +08:00 committed by GitHub
commit b7cbd43e17

View File

@ -1,7 +1,7 @@
'use client'
export function ChatBubble({ message, type }: { message: string; type: 'user' | 'ai' }) {
const base = 'px-4 py-2 rounded-lg max-w-full';
const base = 'px-4 py-2 rounded-lg max-w-full whitespace-pre-wrap break-words';
const userStyle = 'bg-indigo-600 text-white self-end';
const aiStyle = 'bg-gray-200 text-gray-800';