Skip to content

Commit e4c6701

Browse files
committed
fix: revert alignment changes for Image icon
- Keep original alignment with gap-0.5 and mr-1 to match send and enhance buttons
1 parent c10c235 commit e4c6701

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
11681168
</div>
11691169
</div>
11701170

1171-
<div className={cn("flex", "items-center", "gap-1", "shrink-0")}>
1171+
<div className={cn("flex", "items-center", "gap-0.5", "shrink-0")}>
11721172
<IndexingStatusBadge />
11731173
<button
11741174
aria-label={t("chat:addImages")}
@@ -1187,6 +1187,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
11871187
!shouldDisableImages && "cursor-pointer",
11881188
shouldDisableImages &&
11891189
"opacity-40 cursor-not-allowed grayscale-[30%] hover:bg-transparent hover:border-[rgba(255,255,255,0.08)] active:bg-transparent",
1190+
"mr-1",
11901191
)}>
11911192
<Image className="w-4 h-4" />
11921193
</button>

0 commit comments

Comments
 (0)