Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(posthog-ai): lay out the quill run alert header on one row (#111342)

Shy Alter91302d43e34d
diff --git a/products/posthog_ai/frontend/components/quill/QuillRunAlertCard.tsx b/products/posthog_ai/frontend/components/quill/QuillRunAlertCard.tsx
index 510a9c7ef08c..515b31db3de8 100644
--- a/products/posthog_ai/frontend/components/quill/QuillRunAlertCard.tsx
+++ b/products/posthog_ai/frontend/components/quill/QuillRunAlertCard.tsx
@@ -29,8 +29,9 @@ export function QuillRunAlertCard({
}: QuillRunAlertCardProps): JSX.Element {
const canRetry = kind === 'connection_failed' && retryable && onRetry
return (
- <Card size="sm" className="max-w-4/5" data-attr="run-alert-card">
- <CardHeader className="flex-row items-center gap-2">
+ <Card size="sm" className="max-w-4/5 @max-lg/thread:max-w-full" data-attr="run-alert-card">
+ {/* `flex` replaces the quill header grid, which would stack the icon, title, and copy button. */}
+ <CardHeader className="flex flex-row items-center gap-2">
<IconWarning className="size-4 shrink-0 text-destructive-foreground" />
<CardTitle className="grow">{RUN_ALERT_TITLES[kind]}</CardTitle>
{copyDetails && (