Skip to content

Commit f37fa6f

Browse files
committed
🤖 Add vertical spacing on wrap and push mode toggles right
- Replace justify-between with gap-x-3 gap-y-2 for consistent spacing - gap-y-2 adds vertical spacing when controls wrap to new lines - Restore ml-auto on mode toggles to push them to the right - Model-related controls (selector, thinking, context) group naturally on left
1 parent f75bb50 commit f37fa6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ChatInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ export const ChatInput: React.FC<ChatInputProps> = ({
747747
Editing message ({formatKeybind(KEYBINDS.CANCEL_EDIT)} to cancel)
748748
</div>
749749
)}
750-
<div className="flex flex-wrap items-center justify-between">
750+
<div className="flex flex-wrap items-center gap-x-3 gap-y-2">
751751
{/* Model Selector - always visible */}
752752
<div className="flex items-center" data-component="ModelSelectorGroup">
753753
<ModelSelector
@@ -789,7 +789,7 @@ export const ChatInput: React.FC<ChatInputProps> = ({
789789
<div className="max-@[500px]:hidden flex items-center" data-component="Context1MGroup">
790790
<Context1MCheckbox modelString={preferredModel} />
791791
</div>
792-
<div className="max-@[700px]:hidden flex items-center gap-1.5">
792+
<div className="max-@[700px]:hidden ml-auto flex items-center gap-1.5">
793793
<div
794794
className={cn(
795795
"flex gap-0 bg-toggle-bg rounded",

0 commit comments

Comments
 (0)