From 8d0acfa9871ac0848746fcd4600d9cf4311f99fc Mon Sep 17 00:00:00 2001 From: Tom X Nguyen Date: Wed, 22 Jan 2025 15:47:37 +0700 Subject: [PATCH] style: Align text and button in user input box --- webview-ui/src/components/chat/ChatRow.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index 5efc698418b..871e6e2bcd6 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -567,7 +567,7 @@ export const ChatRowContent = ({ style={{ display: "flex", justifyContent: "space-between", - alignItems: "flex-start", + alignItems: "center", gap: "10px", }}> {highlightMentions(message.text)} @@ -577,7 +577,8 @@ export const ChatRowContent = ({ padding: "3px", flexShrink: 0, height: "24px", - marginTop: "-6px", + marginTop: "-3px", + marginBottom: "-3px", marginRight: "-6px", }} disabled={isStreaming}