mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: align highlight layer with textarea to fix misalignment issue
- Match padding values between highlight layer and textarea - Use same padding logic for edit mode (pt-1.5 pb-10 px-2) and normal mode (py-1.5 px-2) - Add pr-9 to highlight layer to match textarea right padding - Fixes #6647
This commit is contained in:
parent
2882d99ea8
commit
79fd28c055
1 changed files with 2 additions and 2 deletions
|
|
@ -1011,8 +1011,8 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
|
|||
"font-vscode-font-family",
|
||||
"text-vscode-editor-font-size",
|
||||
"leading-vscode-editor-line-height",
|
||||
"py-2",
|
||||
"px-[9px]",
|
||||
isEditMode ? "pt-1.5 pb-10 px-2" : "py-1.5 px-2",
|
||||
"pr-9",
|
||||
"z-10",
|
||||
"forced-color-adjust-none",
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue