Skip to content

Fix: outcome treemap min-width so small cells stay readable#48

Merged
heyitsStylez merged 1 commit intomainfrom
outchart-min-width
May 7, 2026
Merged

Fix: outcome treemap min-width so small cells stay readable#48
heyitsStylez merged 1 commit intomainfrom
outchart-min-width

Conversation

@heyitsStylez
Copy link
Copy Markdown
Owner

Summary

  • When one outcome dominated (e.g. 28 EXPIRED vs 1 ASSIGNED/CLOSED), small cells got crushed to ~30px and labels truncated to "ASS…" / "CLO…".
  • Set `.outchart-cell { min-width: 110px }` so each cell reserves room for its label, count, and premium while EXPIRED still visually dominates.

Test plan

  • `python3 build.py --check` passes
  • `npm test` — 72/72 pass
  • Visual: small ASSIGNED/CLOSED cells now show full label + count + premium

🤖 Generated with Claude Code

When one outcome dominates (e.g. 28 EXPIRED vs 1 ASSIGNED), proportional
flex sizing crushed the small cells to ~30px and truncated their labels.
Set min-width:110px so each cell reserves room for "OUTCOME · count · $prem"
while EXPIRED still visually dominates.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hyperwheel Ready Ready Preview, Comment May 7, 2026 4:40am

@heyitsStylez heyitsStylez merged commit debc900 into main May 7, 2026
4 checks passed
@heyitsStylez heyitsStylez deleted the outchart-min-width branch May 7, 2026 06:00
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