FIX/Adapt message box to handle long text in frontend (#466)

* fix:ui

* fix:ui bug

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
This commit is contained in:
道心坚定韩道友
2025-08-21 10:31:54 +08:00
committed by GitHub
parent db6c1bf7cb
commit f17e5bd6c8
3 changed files with 53 additions and 24 deletions

View File

@@ -185,7 +185,7 @@ const MessageInput = forwardRef<MessageInputRef, MessageInputProps>(
<EditorContent
immediatelyRender={false}
extensions={extensions}
className="border-muted h-full w-full overflow-auto"
className="border-muted h-full w-full overflow-auto break-words"
editorProps={{
attributes: {
class: