From 5c654624546f3b87bfb35000553ed6a7a45da25f Mon Sep 17 00:00:00 2001 From: Bohdan Triapitsyn Date: Sat, 11 Jul 2026 18:17:21 +0300 Subject: [PATCH] refactor: remove unused editor font size styling from chat input Stops reading editor font size from UI state in ChatInput Removes inline font-size styling from the text area --- packages/ui/src/components/chat/ChatInput.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/ui/src/components/chat/ChatInput.tsx b/packages/ui/src/components/chat/ChatInput.tsx index b17b052d..32e607eb 100644 --- a/packages/ui/src/components/chat/ChatInput.tsx +++ b/packages/ui/src/components/chat/ChatInput.tsx @@ -1126,7 +1126,6 @@ const ChatInputComponent: React.FC = ({ onOpenSettings, scrollTo const inputBarOffset = useUIStore((state) => state.inputBarOffset); const persistChatDraft = useUIStore((state) => state.persistChatDraft); const inputSpellcheckEnabled = useUIStore((state) => state.inputSpellcheckEnabled); - const editorFontSize = useUIStore((state) => state.editorFontSize); const isExpandedInput = useUIStore((state) => state.isExpandedInput); const setExpandedInput = useUIStore((state) => state.setExpandedInput); const setTimelineDialogOpen = useUIStore((state) => state.setTimelineDialogOpen); @@ -5272,7 +5271,6 @@ const ChatInputComponent: React.FC = ({ onOpenSettings, scrollTo maxHeight: !isComposerExpanded && textareaSize ? `${textareaSize.maxHeight}px` : undefined, borderTopLeftRadius: chatInputRadius, borderTopRightRadius: chatInputRadius, - fontSize: `${editorFontSize}px`, }} rows={1} />