diff --git a/apps/web/src/components/usage/UsageLimitsPooled.tsx b/apps/web/src/components/usage/UsageLimitsPooled.tsx index 245b3021e4cd2..f5a463ee0b6a7 100644 --- a/apps/web/src/components/usage/UsageLimitsPooled.tsx +++ b/apps/web/src/components/usage/UsageLimitsPooled.tsx @@ -403,7 +403,7 @@ function SegmentTriggers({ type="button" style={{ gridColumn: index, gridRow: 1, ...paceMark?.gappedTrack }} aria-label={segmentLabel} - className="relative h-5 min-w-0 cursor-pointer rounded-md bg-muted text-start outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background data-[popup-open]:ring-1 data-[popup-open]:ring-inset data-[popup-open]:ring-border @2xl/pool:h-8" + className="relative h-5 min-w-0 cursor-pointer rounded-md bg-muted text-start outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background data-[popup-open]:ring-1 data-[popup-open]:ring-inset data-[popup-open]:ring-border @min-[11rem]/pool:h-8" /> } > @@ -436,11 +436,11 @@ function SegmentTriggers({ ) : null} {index} -
+
{showAccountName ? ( } - className="min-w-0 @2xl/pool:hidden" + className="min-w-0 @min-[11rem]/pool:hidden" > [reset.member.account.key, reset])); const gt = useGT(); + // The container is one account's share of the bar, so its query asks whether a segment has + // room for its label. The floor keeps the 42rem bar breakpoint for up to three accounts. + const share = Math.max(pool.columns.length, 42 / 11); return ( -
+
{pool.columns.map((member, position) => member.window ? ( @@ -574,11 +580,11 @@ function PoolBar({
{gt("$0 cap")}
diff --git a/docs/user/usage.md b/docs/user/usage.md index 5160becc21567..a13ef82307920 100644 --- a/docs/user/usage.md +++ b/docs/user/usage.md @@ -129,7 +129,7 @@ part of a segment is what that reset restores. Tap a segment or account row for where it is signed in, and its reset time. On web, you can hover too. Codex and Claude accounts with banked reset credits show a ticket count and the **Use reset** action in the account details. Claude resets are not available when the server runs on macOS, where Claude keeps its login in the -Keychain. On narrow screens, numbered rows below +Keychain. When a bar is too narrow to label every account, numbered rows below the bar show each account's quota, countdown, and credits. Tap a row to open its details. The same account signed in on more than one environment, or reported by a hub as well, counts once.