Skip to content

Commit 613039c

Browse files
committed
🤖 Fix chat controls wrapping on constrained viewports
Added flex-wrap to the chat controls row to prevent overflow on narrow viewports. Controls (ModelSelector, ThinkingSlider, Context1MCheckbox, and mode toggles) now wrap to multiple lines when space is constrained instead of overflowing horizontally. Changes: - Added flex-wrap and gap-y-1 to controls container - Controls maintain proper alignment while allowing responsive wrapping
1 parent c596556 commit 613039c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ChatInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ export const ChatInput: React.FC<ChatInputProps> = ({
746746
Editing message ({formatKeybind(KEYBINDS.CANCEL_EDIT)} to cancel)
747747
</div>
748748
)}
749-
<div className="flex items-center">
749+
<div className="flex flex-wrap items-center gap-y-1">
750750
<ChatToggles modelString={preferredModel}>
751751
<div className="mr-3 flex items-center gap-1.5">
752752
<ModelSelector

0 commit comments

Comments
 (0)