fix: improve chat UI - add camera icon margin and make placeholder no… (#5477)

fix: improve chat UI - add camera icon margin and make placeholder non-selectable
This commit is contained in:
Murilo Pires 2025-07-08 17:28:12 -03:00 committed by GitHub
parent a5324268dc
commit 26c2fbbc07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -986,7 +986,12 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
{!inputValue && (
<div
className="absolute left-2 z-30 pr-9 flex items-center h-8"
style={{ bottom: "0.25rem", color: "var(--vscode-tab-inactiveForeground)" }}>
style={{
bottom: "0.25rem",
color: "var(--vscode-tab-inactiveForeground)",
userSelect: "none",
pointerEvents: "none",
}}>
{placeholderBottomText}
</div>
)}
@ -1147,6 +1152,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
title={t("chat:addImages")}
disabled={shouldDisableImages}
onClick={onSelectImages}
className="mr-1"
/>
</div>
</div>