style: align chatrow through padding and keep flex-start for the trash

This commit is contained in:
Tom X Nguyen
2025-01-22 23:02:32 +07:00
parent 4b24564087
commit ece63103c7

View File

@@ -567,10 +567,12 @@ export const ChatRowContent = ({
style={{ style={{
display: "flex", display: "flex",
justifyContent: "space-between", justifyContent: "space-between",
alignItems: "center", alignItems: "flex-start",
gap: "10px", gap: "10px",
}}> }}>
<span style={{ display: "block", flexGrow: 1 }}>{highlightMentions(message.text)}</span> <span style={{ display: "block", flexGrow: 1, padding: "4px" }}>
{highlightMentions(message.text)}
</span>
<VSCodeButton <VSCodeButton
appearance="icon" appearance="icon"
style={{ style={{