Skip to content

Commit ece6310

Browse files
committed
style: align chatrow through padding and keep flex-start for the trash
1 parent 4b24564 commit ece6310

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,10 +567,12 @@ export const ChatRowContent = ({
567567
style={{
568568
display: "flex",
569569
justifyContent: "space-between",
570-
alignItems: "center",
570+
alignItems: "flex-start",
571571
gap: "10px",
572572
}}>
573-
<span style={{ display: "block", flexGrow: 1 }}>{highlightMentions(message.text)}</span>
573+
<span style={{ display: "block", flexGrow: 1, padding: "4px" }}>
574+
{highlightMentions(message.text)}
575+
</span>
574576
<VSCodeButton
575577
appearance="icon"
576578
style={{

0 commit comments

Comments
 (0)