Skip to content

fix(ui): hero values fit their card; release 1.3.4 - #19

Merged
vimoxshah merged 2 commits into
mainfrom
fix/hero-values-fit-their-card
Sep 7, 2026
Merged

fix(ui): hero values fit their card; release 1.3.4#19
vimoxshah merged 2 commits into
mainfrom
fix/hero-values-fit-their-card

Conversation

@vimoxshah

Copy link
Copy Markdown
Owner

What

  • The Data health grade ("Excellent") was wider than its card at the hero figure size and read "Excelle". Hero values are now sized to the card they sit in with container units, between a readable floor and the hero size, and the grade card takes a double-width slot.
  • The same rule fixes the Cost ("$364.52") and Peaks ("53.3M") heroes, which clipped on narrower windows.
  • The Overview's two-up chart grid asked for 420px columns and pushed the page 64px past a 380px viewport; the minimum now yields to the available width.
  • Branch names in the Live receipts list wrap instead of spilling out of their column.
  • Version bumped to 1.3.4, changelog written, the documented uses: tag moved to v1.3.4.

Verified

All 21 views rendered headless in the three themes at 1440, 1000, 700 and 380px, every card probed for text past its edge and the page for sideways scroll: none remain. Lint, 841 tests, typecheck and the design gate pass locally.

🤖 Generated with Claude Code

vimoxshah and others added 2 commits September 7, 2026 19:36
…llapse on a phone

"Excellent" on the Data health card was set at the hero figure size, which is
tuned for numbers; the word is wider than one grid card at that size, so it
read "Excelle" with the rest cut off. The Cost hero ("$364.52") and the Peaks
hero ("53.3M") had the same defect on narrower windows.

A hero value is now sized to the column it sits in with container units,
between a readable floor (20px scaled by the theme) and the hero size: 19% of
the width fits the longest figure the formatters emit in the widest figure
font, 17% fits the longest grade. The grade card takes a double-width slot so
the word shows at full size on anything wider than a phone. The 860px rule
now lowers the cap instead of pinning the size, so it cannot reintroduce the
overflow.

The Overview's two-up chart grid asked for 420px columns, which pushed the page
64px past a 380px viewport; the minimum now yields to the available width. A
wide card falls back to one column below 480px, and branch names in the Live
receipts list wrap instead of spilling out of their column.

Verified by rendering all 21 views in the three themes at 1440, 1000, 700 and
380px and probing every card for text past its edge and the page for sideways
scroll: none remain.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@vimoxshah
vimoxshah merged commit 0ae5f17 into main Sep 7, 2026
9 checks passed
@vimoxshah
vimoxshah deleted the fix/hero-values-fit-their-card branch September 7, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant