Repository navigation
fix(mobile): fit usage view selector beside the date range at large text - #33682
Conversation
The wide usage layout fixed the Cost/Tokens/Limits selector at 240pt while the date range filled the rest of the row. With larger app and system text, Tokens and Limits wrapped mid-word. Both selectors now share the row.
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — The mobile usage selector now shares available width with the date-range control instead of using a fixed width. This is a localized layout adjustment with no changes to selection behavior or usage data. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Problem
On wide layouts (foldable inner screens, tablets), the Usage screen gave the Cost/Tokens/Limits selector a fixed 240pt while the 24h/7d/30d/90d range stretched across the rest of the row. With larger text, Tokens and Limits wrapped mid-word ("Token / s", "Limit / s") even though the date labels had plenty of spare room.
Change
Replace the view selector's fixed
w-60withflex-1, so the date range and view selector split the row. Narrow screens keep their existing stacked layout. On the Limits view, the empty spacer still keeps the selector in the right half.Scope and approval
Alex reported this at 19–20pt app text with enlarged Android system text. This is a small fix to an existing mobile layout defect. iOS shares the same component, and web, desktop, providers, and server contracts are unaffected.
Verification
vp run check:changedpassed.Model: GPT-6.1 Sol & Claude Opus 5.5 | Harness: Codex in T3 Code & Claude Code in T3 Code