style: Align text and button in user input box

This commit is contained in:
Tom X Nguyen
2025-01-22 15:47:37 +07:00
parent e333bfa84f
commit 8d0acfa987

View File

@@ -567,7 +567,7 @@ export const ChatRowContent = ({
style={{ style={{
display: "flex", display: "flex",
justifyContent: "space-between", justifyContent: "space-between",
alignItems: "flex-start", alignItems: "center",
gap: "10px", gap: "10px",
}}> }}>
<span style={{ display: "block", flexGrow: 1 }}>{highlightMentions(message.text)}</span> <span style={{ display: "block", flexGrow: 1 }}>{highlightMentions(message.text)}</span>
@@ -577,7 +577,8 @@ export const ChatRowContent = ({
padding: "3px", padding: "3px",
flexShrink: 0, flexShrink: 0,
height: "24px", height: "24px",
marginTop: "-6px", marginTop: "-3px",
marginBottom: "-3px",
marginRight: "-6px", marginRight: "-6px",
}} }}
disabled={isStreaming} disabled={isStreaming}