diff --git a/src/components/ChatViewer.tsx b/src/components/ChatViewer.tsx index ade187f..6906967 100644 --- a/src/components/ChatViewer.tsx +++ b/src/components/ChatViewer.tsx @@ -763,7 +763,7 @@ export function ChatViewer({ onClear={() => setReplyTo(undefined)} /> )} -
+
{ editorRef.current?.submit(); }} > - {isSending ? : "Send"} + {isSending ? : "Send"}
diff --git a/src/components/editor/MentionEditor.tsx b/src/components/editor/MentionEditor.tsx index a9423eb..1d592af 100644 --- a/src/components/editor/MentionEditor.tsx +++ b/src/components/editor/MentionEditor.tsx @@ -511,7 +511,7 @@ export const MentionEditor = forwardRef< editorProps: { attributes: { class: - "prose prose-sm max-w-none focus:outline-none min-h-[2rem] px-3 py-1.5 whitespace-nowrap", + "prose prose-sm max-w-none focus:outline-none min-h-[1.25rem] px-2 py-1 whitespace-nowrap text-sm", }, }, autofocus: autoFocus, @@ -551,7 +551,7 @@ export const MentionEditor = forwardRef< return (