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(phai): composer spacing (#67495)

Georgiy Tarasov145d60022012
diff --git a/products/posthog_ai/frontend/components/ResourcesBar.tsx b/products/posthog_ai/frontend/components/ResourcesBar.tsx
index 0f2711cdd238..d598142ac7d7 100644
--- a/products/posthog_ai/frontend/components/ResourcesBar.tsx
+++ b/products/posthog_ai/frontend/components/ResourcesBar.tsx
@@ -19,7 +19,7 @@ export function ResourcesBar(): JSX.Element | null {
}
return (
- <div className="flex flex-wrap items-center gap-1.5 px-3 py-1.5" data-attr="max-sandbox-resources-bar">
+ <div className="flex flex-wrap items-center gap-1.5 px-3" data-attr="max-sandbox-resources-bar">
<span className="text-xs text-muted mr-0.5">PostHog resources used:</span>
{resourcesUsed.map((product) => {
const { label, Icon } = resolveProductMeta(product.id, product.label)
diff --git a/products/posthog_ai/frontend/components/RunSurfaceImpl.tsx b/products/posthog_ai/frontend/components/RunSurfaceImpl.tsx
index b219e98cf95f..0495b16acdb1 100644
--- a/products/posthog_ai/frontend/components/RunSurfaceImpl.tsx
+++ b/products/posthog_ai/frontend/components/RunSurfaceImpl.tsx
@@ -225,8 +225,8 @@ function RunSurfaceComposer({ children }: { children?: ReactNode }): JSX.Element
}
return (
<div data-attr="composer" className="px-4 pb-4">
- <LemonDivider className="mt-0 mb-4" />
- <div className="mx-auto w-full max-w-180">{children}</div>
+ <LemonDivider className="mt-0 mb-3" />
+ <div className="mx-auto w-full max-w-180 space-y-2">{children}</div>
</div>
)
}