Skip to content

Commit 26c2fbb

Browse files
authored
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
1 parent a532426 commit 26c2fbb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

webview-ui/src/components/chat/ChatTextArea.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,12 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
986986
{!inputValue && (
987987
<div
988988
className="absolute left-2 z-30 pr-9 flex items-center h-8"
989-
style={{ bottom: "0.25rem", color: "var(--vscode-tab-inactiveForeground)" }}>
989+
style={{
990+
bottom: "0.25rem",
991+
color: "var(--vscode-tab-inactiveForeground)",
992+
userSelect: "none",
993+
pointerEvents: "none",
994+
}}>
990995
{placeholderBottomText}
991996
</div>
992997
)}
@@ -1147,6 +1152,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
11471152
title={t("chat:addImages")}
11481153
disabled={shouldDisableImages}
11491154
onClick={onSelectImages}
1155+
className="mr-1"
11501156
/>
11511157
</div>
11521158
</div>

0 commit comments

Comments
 (0)