Skip to content

Commit 53cefb3

Browse files
committed
style: reduce vertical space in chat controls
- Reduce gap between control rows from gap-1 to gap-0.5 - Reduce vertical wrap gap from gap-y-2 to gap-y-1 - Reduce send button padding from px-2 py-1 to px-1.5 py-0.5
1 parent ffb6e94 commit 53cefb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/browser/components/ChatInput/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,15 +1086,15 @@ export const ChatInput: React.FC<ChatInputProps> = (props) => {
10861086
{/* Image attachments */}
10871087
<ImageAttachments images={imageAttachments} onRemove={handleRemoveImage} />
10881088

1089-
<div className="flex flex-col gap-1" data-component="ChatModeToggles">
1089+
<div className="flex flex-col gap-0.5" data-component="ChatModeToggles">
10901090
{/* Editing indicator - workspace only */}
10911091
{variant === "workspace" && editingMessage && (
10921092
<div className="text-edit-mode text-[11px] font-medium">
10931093
Editing message ({formatKeybind(KEYBINDS.CANCEL_EDIT)} to cancel)
10941094
</div>
10951095
)}
10961096

1097-
<div className="@container flex flex-wrap items-center gap-x-3 gap-y-2">
1097+
<div className="@container flex flex-wrap items-center gap-x-3 gap-y-1">
10981098
{/* Model Selector - always visible */}
10991099
<div
11001100
className="flex items-center"
@@ -1176,7 +1176,7 @@ export const ChatInput: React.FC<ChatInputProps> = (props) => {
11761176
disabled={!canSend}
11771177
aria-label="Send message"
11781178
className={cn(
1179-
"inline-flex items-center gap-1 rounded-sm border border-border-light px-2 py-1 text-[11px] font-medium text-white transition-colors duration-200 disabled:opacity-50",
1179+
"inline-flex items-center gap-1 rounded-sm border border-border-light px-1.5 py-0.5 text-[11px] font-medium text-white transition-colors duration-200 disabled:opacity-50",
11801180
mode === "plan"
11811181
? "bg-plan-mode hover:bg-plan-mode-hover disabled:hover:bg-plan-mode"
11821182
: "bg-exec-mode hover:bg-exec-mode-hover disabled:hover:bg-exec-mode"

0 commit comments

Comments
 (0)