Skip to content

fix(dashboard): responsive stat grids so values don't truncate#20

Merged
proofofprints merged 1 commit into
mainfrom
feat/responsive-dashboard-grids
Jun 7, 2026
Merged

fix(dashboard): responsive stat grids so values don't truncate#20
proofofprints merged 1 commit into
mainfrom
feat/responsive-dashboard-grids

Conversation

@proofofprints
Copy link
Copy Markdown
Collaborator

Bug

The "Mining by Coin" inner stat grids and the top stat rows used fixed grid-cols-4/grid-cols-5 that don't reflow → text truncates at narrow widths (e.g. 0.030 vs 0.0307).

Fix (CSS only)

  • Miners breakdown + both Mining-by-Coin inner grids: grid-cols-2 sm:grid-cols-4
  • Hashrate-breakdown / uptime row: grid-cols-2 sm:grid-cols-3 lg:grid-cols-5

Verification

  • npx tsc --noEmit ✅ (no Rust touched — cargo check unaffected)
  • Runtime: user to eyeball the Dashboard at a narrow window width.

Fixed grid-cols-4/-5 grids didn't reflow at narrow widths, truncating
values (e.g. '0.030' vs '0.0307'). Add breakpoints:
- Miners + Mining-by-Coin grids: grid-cols-2 sm:grid-cols-4
- Hashbreakdown/uptime row: grid-cols-2 sm:grid-cols-3 lg:grid-cols-5
@proofofprints proofofprints merged commit 3793f92 into main Jun 7, 2026
1 check passed
@proofofprints proofofprints deleted the feat/responsive-dashboard-grids branch June 7, 2026 05:13
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