fix(vscode): align prompt textarea wrapping with overlay#7831
fix(vscode): align prompt textarea wrapping with overlay#7831sainzs wants to merge 1 commit intoKilo-Org:mainfrom
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 files)
Reviewed by gpt-5.4-20260305 · 185,365 tokens |
|
Verification update:\n\n- Installed Bun locally ()\n- Ran bun install v1.3.11 (af24e281) Checked 1797 installs across 1968 packages (no changes) [334.00ms] at repo root\n- Ran \n- Ran [local-bin] CLI binary already present at bin/kilo (114MB). Use --force to rebuild. �[90m[Job 1] �[39m⏳ �[36mGenerating from 1 input:�[39m |
|
Verification update:
The PR diff remains the intended CSS-only fix for #7808. |
|
can you please add actual screenshots in the pr descriptino? |
Context
Fixes
#7808.The VS Code prompt input uses a transparent
<textarea>for input/caret positioning and an overlaid<div>for the visible highlighted text. On Windows, these two layers could wrap text differently, which caused the caret and rendered text to drift vertically, especially after pasting larger blocks of text.Implementation
Aligned the textarea wrapping behavior with the overlay by adding the missing properties to
.prompt-inputinpackages/kilo-vscode/webview-ui/src/styles/chat.css:white-space: pre-wrapword-wrap: break-wordoverflow-x: hiddenThis keeps the change narrowly scoped to the input CSS and leaves the component structure and behavior unchanged.
Screenshots
How to Test
Get in Touch
Discord: add your handle here if you want maintainer follow-up there.