Fix resizing of LLM more info on toggle

This commit is contained in:
James Ketr 2025-04-26 16:38:35 -07:00
parent 8525335345
commit f70fe8e225

View File

@ -271,11 +271,11 @@ const Message = (props: MessageProps) => {
</Typography>
}
</CardContent>
<CardActions disableSpacing sx={{ display: "flex", flexDirection: "row", justifyContent: "space-between", alignItems: "center", width: "100%" }}>
<CardActions disableSpacing sx={{ display: "flex", flexDirection: "row", justifyContent: "space-between", alignItems: "center", width: "100%", p: 0, m: 0 }}>
<CopyBubble content={message?.content} />
{message.metadata && (
<Box sx={{ display: "flex", alignItems: "center", gap: 1 }}>
<Button variant="text" onClick={handleExpandClick} sx={{ color: "darkgrey", p: 1 }}>
<Button variant="text" onClick={handleExpandClick} sx={{ color: "darkgrey", p: 0 }}>
LLM information for this query
</Button>
<ExpandMore