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): give charts full height in quill widget cards (#126100)

Sam Pennington8677d96f2e99
diff --git a/products/posthog_ai/frontend/components/quill/QuillWidgetCard.tsx b/products/posthog_ai/frontend/components/quill/QuillWidgetCard.tsx
index d720a28ea198..b6e4ccc244c3 100644
--- a/products/posthog_ai/frontend/components/quill/QuillWidgetCard.tsx
+++ b/products/posthog_ai/frontend/components/quill/QuillWidgetCard.tsx
@@ -10,7 +10,7 @@ export function QuillWidgetCard({ body, bodyHeightClassName, footer, danger = fa
// Product widgets keep PostHog's own colours inside the quill thread.
<CardContent data-not-quill>
{/* The viewport inherits a `max-h-*` cap from the root, or it outgrows the root and scrolls nothing. */}
- <ScrollArea className={bodyHeightClassName} viewportClassName="max-h-[inherit]">
+ <ScrollArea className={bodyHeightClassName} viewportClassName="flex flex-col max-h-[inherit]">
{body}
</ScrollArea>
</CardContent>