Skip to content

Home: the latest blocks and transactions cards are the same size - #4

Merged
dendisuhubdy merged 1 commit into
mainfrom
fix/home-tables
Oct 27, 2026
Merged

dendisuhubdy merged 1 commit into
mainfrom
fix/home-tables

Conversation

@dendisuhubdy

Copy link
Copy Markdown
Member

Summary

Side by side on the home page (~530 px each), both tables scrolled sideways (blocks lost View/Age; transactions opened scrolled past its hashes). The action cell also wrapped onto two lines, making the transactions card ~1.6× as tall as the blocks card.

  • Home only: blocks hides View; transactions hides Fee and Height (both stay on /blocks and /transactions).
  • New compact prop on both tables: shorter hashes (6…4; proposer/action keys 4…4). Home also uses 3-unit cell padding and a single 52 px row height, and each card stretches to the grid row.
  • The action cell no longer wraps (DataTable cells are already nowrap).

Verified

Playwright against live API data at 1280 / 1440 / 1920 px: both cards 532 × 559, every row 52 px, horizontal overflow 0 on both. tsc, lint clean; frontend tests 76 pass / 0 fail.

🤖 Generated with Claude Code

Side by side, each half of the page is ~530 px, and both tables scrolled sideways: blocks
lost View and Age off the right edge, and the transactions card opened scrolled past its hashes.
The action cell wrapped too ("validator / 10 RAND" on two lines), so the transactions card
was half again as tall as the blocks card.

On the home page the two tables now show the columns that fit (View, Fee and Height stay on
/blocks and /transactions), shorter hashes (`compact`: 6…4, proposers and action keys 4…4),
3-unit cell padding and one 52 px row height, and each card stretches to the grid row.
Measured at 1280, 1440 and 1920 px wide: both cards 532 × 559, every row 52 px, no
horizontal overflow. The action cell no longer wraps anywhere (DataTable cells are nowrap).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dendisuhubdy
dendisuhubdy merged commit 1363c68 into main Oct 27, 2026
6 checks passed
@dendisuhubdy
dendisuhubdy deleted the fix/home-tables branch October 27, 2026 04:59
@codecov

codecov Bot commented Oct 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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