Skip to content

Commit 851e8ce

Browse files
authored
Merge pull request #478 from monotykamary/style/align-chat-input-elements
style: Align text and button in user input box
2 parents e333bfa + 8d0acfa commit 851e8ce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ export const ChatRowContent = ({
567567
style={{
568568
display: "flex",
569569
justifyContent: "space-between",
570-
alignItems: "flex-start",
570+
alignItems: "center",
571571
gap: "10px",
572572
}}>
573573
<span style={{ display: "block", flexGrow: 1 }}>{highlightMentions(message.text)}</span>
@@ -577,7 +577,8 @@ export const ChatRowContent = ({
577577
padding: "3px",
578578
flexShrink: 0,
579579
height: "24px",
580-
marginTop: "-6px",
580+
marginTop: "-3px",
581+
marginBottom: "-3px",
581582
marginRight: "-6px",
582583
}}
583584
disabled={isStreaming}

0 commit comments

Comments
 (0)