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(funnels): wrap long step names in the funnel step legend (#94392)

Sam Pennington7075b098c563
diff --git a/frontend/src/scenes/funnels/FunnelBarVertical/FunnelBarVertical.scss b/frontend/src/scenes/funnels/FunnelBarVertical/FunnelBarVertical.scss
index a84a7cd0c850..54eb43009c42 100644
--- a/frontend/src/scenes/funnels/FunnelBarVertical/FunnelBarVertical.scss
+++ b/frontend/src/scenes/funnels/FunnelBarVertical/FunnelBarVertical.scss
@@ -185,6 +185,7 @@
&:first-child {
width: fit-content;
+ max-width: 100%;
margin-top: 0;
font-weight: 600;
white-space: normal;
@@ -194,7 +195,10 @@
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
overflow: hidden;
- overflow-wrap: break-word;
+
+ // `anywhere` (unlike `break-word`) shrinks the intrinsic min-content width, so an
+ // unbroken event name wraps instead of blowing the row past its step column.
+ overflow-wrap: anywhere;
}
}