Skip to content

fix(vscode): use a minimum prompt input gutter - #13310

Merged
marius-kilocode merged 2 commits into
mainfrom
fix/prompt-input-minimum-gutter
Aug 21, 2026
Merged

fix(vscode): use a minimum prompt input gutter#13310
marius-kilocode merged 2 commits into
mainfrom
fix/prompt-input-minimum-gutter

Conversation

@marius-kilocode

Copy link
Copy Markdown
Collaborator

Prompt inputs currently use different horizontal and vertical spacing depending on the host surface. Sidebar chat also had width calculations tied to the older chat gutter, while Agent Manager chat and the New Worktree dialog used separate margin overrides. This makes the same prompt component look misaligned across surfaces and allows zero-margin dialog layouts.

Use one shared --prompt-min-gutter token and derive a responsive --prompt-gutter with max(). The same gutter now controls prompt width, horizontal centering, and vertical spacing in sidebar chat, Agent Manager chat, session-dock states, permission states, and the New Worktree dialog. The dialog keeps its resize and overflow behavior while honoring the minimum. Focused geometry coverage locks the minimum, responsive, and dialog cases.

Before and after comparison:

Before and after comparison of prompt input spacing in sidebar chat, Agent Manager chat, and the New Worktree dialog

@marius-kilocode
marius-kilocode enabled auto-merge (squash) August 21, 2026 11:44
@kilo-code-bot

kilo-code-bot Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (6 files)
  • .changeset/prompt-input-minimum-gutter.md
  • packages/kilo-vscode/tests/prompt-spacing.spec.ts
  • packages/kilo-vscode/webview-ui/agent-manager/agent-manager.css
  • packages/kilo-vscode/webview-ui/src/styles/chat-layout.css
  • packages/kilo-vscode/webview-ui/src/styles/prompt-input.css
  • packages/kilo-vscode/webview-ui/src/styles/session-actions.css

Reviewed by grok-4.6 · Input: 218.1K · Output: 22K · Cached: 1.2M

Review guidance: REVIEW.md from base branch main

@WebReflection WebReflection left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

love it!

@marius-kilocode
marius-kilocode merged commit c171b12 into main Aug 21, 2026
26 checks passed
@marius-kilocode
marius-kilocode deleted the fix/prompt-input-minimum-gutter branch August 21, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants