From 4eac90ad4463330b7fb71969ae01d7a3f55bb79d Mon Sep 17 00:00:00 2001 From: Bohdan Triapitsyn Date: Tue, 14 Jul 2026 14:45:49 +0300 Subject: [PATCH] fix(chat): decouple input from editor font size The editor font size setting controls code editors and should not also resize the chat composer. Code and conversational input have different readability and layout requirements, so forcing them to share one size is not appropriate. --- 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 183df1ee..dfd79904 100644 --- a/packages/ui/src/components/chat/ChatInput.tsx +++ b/packages/ui/src/components/chat/ChatInput.tsx @@ -1128,7 +1128,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); @@ -5312,7 +5311,6 @@ const ChatInputComponent: React.FC = ({ onOpenSettings, scrollTo maxHeight: !isComposerExpanded && textareaSize ? `${textareaSize.maxHeight}px` : undefined, borderTopLeftRadius: chatInputRadius, borderTopRightRadius: chatInputRadius, - fontSize: `${editorFontSize}px`, }} rows={1} />