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(today): wrap scene title actions in narrow scenes (#111197)

Shy Altere7ba67287e23
diff --git a/frontend/src/layout/scenes/components/QuillSceneHeader.tsx b/frontend/src/layout/scenes/components/QuillSceneHeader.tsx
index e346a9a45b40..9c600d55e6c9 100644
--- a/frontend/src/layout/scenes/components/QuillSceneHeader.tsx
+++ b/frontend/src/layout/scenes/components/QuillSceneHeader.tsx
@@ -18,7 +18,11 @@ export function QuillSceneHeader({ back, icon, title, actions, className }: Quil
return (
<header
data-quill
- className={cn('flex h-12 shrink-0 items-center gap-1 border-b border-[var(--border)] px-4', className)}
+ className={cn(
+ 'flex h-12 shrink-0 items-center gap-1 border-b border-[var(--border)] px-4',
+ '@max-xl/main-content:h-auto @max-xl/main-content:min-h-12 @max-xl/main-content:flex-wrap @max-xl/main-content:gap-y-2 @max-xl/main-content:py-2',
+ className
+ )}
>
{back}
{icon && (
@@ -27,7 +31,11 @@ export function QuillSceneHeader({ back, icon, title, actions, className }: Quil
</span>
)}
<div className="flex min-w-0 flex-1 items-center gap-1">{title}</div>
- {actions && <div className="ml-auto flex shrink-0 items-center gap-1">{actions}</div>}
+ {actions && (
+ <div className="ml-auto flex shrink-0 items-center gap-1 @max-xl/main-content:ml-0 @max-xl/main-content:basis-full @max-xl/main-content:flex-wrap">
+ {actions}
+ </div>
+ )}
</header>
)
}