Update bot chat block

This commit is contained in:
2026-10-19 22:09:02 +01:00
parent 100ef0eb89
commit 59f5acb7bc
2 changed files with 9 additions and 4 deletions
@@ -38,7 +38,10 @@ export default function BotMessageLine({ message, bot_name, at }: Props) {
return (
<Stack className="w-full min-w-0 gap-1.5! items-start max-w-full">
{message.reply_to ? (
<MessageReplyQuote reply_to={message.reply_to} bot_name={bot_name} />
<MessageReplyQuote
reply_to={message.reply_to}
bot_name={bot_name}
/>
) : null}
<Stack className="w-full gap-2.5! items-start break-words">
<Markdown
@@ -55,10 +58,12 @@ export default function BotMessageLine({ message, bot_name, at }: Props) {
onReact={onReact}
/>
) : null}
<Row className="gap-2! items-center">
<Row className="gap-3! items-center">
{message.needs_you ? <NeedsYouChip /> : null}
{at ? <GroupTimestamp at={at} /> : null}
{can_speak ? <SpeakMessageButton message_id={Number(message.id)} /> : null}
{can_speak ? (
<SpeakMessageButton message_id={Number(message.id)} />
) : null}
<MessageActions message={message} />
</Row>
</Stack>
@@ -19,7 +19,7 @@ export default function MessageActions({ message }: Props) {
if (!message.id) return null;
return (
<Row className="gap-1.5! items-center">
<Row className="gap-3! items-center">
<MessageActionButton
title="Reply"
aria_label="Reply to this message"