Skip to content

explorer: Keep both parties whole beside the largest amounts on phones - #342

Merged
HDauven merged 1 commit into
mainfrom
fix/follow-ups
Nov 24, 2026
Merged

HDauven merged 1 commit into
mainfrom
fix/follow-ups

Conversation

@HDauven

@HDauven HDauven commented Nov 23, 2026

Copy link
Copy Markdown
Member

What changed

On a 320 px phone, a transaction row with an amount of 14 characters or more left too little room for its parties. The receiver's address ended "271z…M…", and the largest amounts, near the 1,000,000,000 DUSK supply, cut the sender too. No layout fits a 4…4 address, its arrow and "−999,999,999.9999 DUSK" side by side in 320 px.

The row now wraps. Its parties are never narrower than the widest of them, whole, and when the amount can't sit beside them it goes under them with its time, still at the right. A name keeps its 17-character cap, now set without a share of the row, so the row can size itself to it.

How it was checked

  • Real builds before and after, in Chromium, Firefox and WebKit at 320, 360, 390 and 768 px. The rows had captured mainnet transactions and stress amounts up to 999,999,999.9999 DUSK, signed and unsigned, with long names. No address, sender or amount is cut after. Before, at 320 px, ten of those rows cut an address, three of them the sender's.
  • Rows that already fit don't change: the first page of the latest mainnet transactions renders pixel for pixel the same at every width tested.
  • An alignment probe over the touched screens, in all three engines, found nothing new except the rows that now take an extra line.
  • Every CI step passes: release ages, npm audit signatures, format, lint, typecheck, 415 tests and the build.

At 320 px, an amount of 14 characters or more left the receiver's line
too short for its address, which ended "271z…M…", and the largest
amounts, near the 1,000,000,000 DUSK supply, cut the sender too: no
layout fits a 4…4 address, its arrow and "−999,999,999.9999 DUSK" side
by side in a 320 px row.

The row now wraps: its parties are never narrower than the widest of
them, whole, and when the amount can't sit beside them, it goes under
them with its time, still at the right. A name keeps to 17 characters,
as before. Rows that fit don't change: the first page of mainnet
transactions renders the same, to the pixel, at 320, 360, 390 and
768 px.
Base automatically changed from fix/alignment to main November 24, 2026 01:37
@HDauven
HDauven merged commit 473e930 into main Nov 24, 2026
1 check passed
@HDauven
HDauven deleted the fix/follow-ups branch November 24, 2026 01:38
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