From e779d719d7fc2bb90e185779d20b0ff3c35b2f27 Mon Sep 17 00:00:00 2001 From: nejim123 Date: Sun, 16 Aug 2026 14:39:19 -0400 Subject: [PATCH] fix(web): wrap phase rail dots and center the context meter ring The Agents panel phase rail rendered one dot per member on a single line, so a phase with many agents (56 verify agents) ran past the panel edge. The pill and its dot cluster now shrink and wrap inside the rail width. The context window meter ring sat 2px left of center. The ring SVG was absolutely positioned inside the Button, whose base class applies a negative horizontal margin to every svg; with left/right anchors that margin became a left shift. The SVG is now a flex child so the margins stay symmetric. Co-Authored-By: Claude Fable 5 --- apps/web/src/components/AgentsPanel.tsx | 10 +++++----- apps/web/src/components/chat/ContextWindowMeter.tsx | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/web/src/components/AgentsPanel.tsx b/apps/web/src/components/AgentsPanel.tsx index 62044a8659d..81bee172cfb 100644 --- a/apps/web/src/components/AgentsPanel.tsx +++ b/apps/web/src/components/AgentsPanel.tsx @@ -217,13 +217,13 @@ function PhaseRail({ group }: { group: AgentPanelWorkflowGroup }) { return (
{group.phases.map((phase, index) => ( -
+
{index > 0 ? ( - + ) : null}
- + {phase.members.length === 0 ? ( ) : ( diff --git a/apps/web/src/components/chat/ContextWindowMeter.tsx b/apps/web/src/components/chat/ContextWindowMeter.tsx index 6e42dcadd8b..41401c64aaa 100644 --- a/apps/web/src/components/chat/ContextWindowMeter.tsx +++ b/apps/web/src/components/chat/ContextWindowMeter.tsx @@ -47,10 +47,10 @@ export function ContextWindowMeter(props: { : `Context window ${formatContextWindowTokens(usage.usedTokens)} tokens used` } > - +