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(navigation): keep space menu items inside the popup (#110266)

Shy Alter7e6c8995aed9
diff --git a/frontend/src/layout/today/todayMenuParts.tsx b/frontend/src/layout/today/todayMenuParts.tsx
index 53ad342278c9..294e68279af9 100644
--- a/frontend/src/layout/today/todayMenuParts.tsx
+++ b/frontend/src/layout/today/todayMenuParts.tsx
@@ -49,7 +49,7 @@ export interface TodayMenuParts {
Sub: (props: TodayMenuSubProps) => JSX.Element
}
-const SUB_CONTENT_CLASS = 'max-h-80 w-64'
+const SUB_CONTENT_CLASS = 'w-64 [&>div]:max-h-[min(20rem,var(--available-height))]'
export const DROPDOWN_PARTS: TodayMenuParts = {
Item: ({ children, dataAttr, onClick, to, disabled, variant }) => (