Skip to content

Refactor transactions page for mobile responsiveness and semantics#779

Merged
jamespepper81 merged 3 commits into
mainfrom
dev
Jun 17, 2026
Merged

Refactor transactions page for mobile responsiveness and semantics#779
jamespepper81 merged 3 commits into
mainfrom
dev

Conversation

@jamespepper81

Copy link
Copy Markdown
Contributor

No description provided.

claude and others added 3 commits June 17, 2026 11:35
On narrow screens the transaction history table squeezed its rigid
columns (whitespace-nowrap amounts/status, default p-4 padding, px-0
content, max-w-[80px] address cap) until content overlapped before the
horizontal scrollbar engaged.

Replace the cramped table-on-mobile with a responsive layout:
- Below sm, render each transaction as a stacked card (details on top,
  amount + status on a second row), eliminating sideways scroll.
- Keep the existing table for sm+ (Fiat column still shows at md+).
- Extract shared logic/markup (getTxDerived, TxIdentity, StatusBadge) so
  the row and card stay DRY; fix address truncation with min-w-0 +
  truncate instead of a fixed-width cap.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q4xBbTDDCCxzmFGzGpo1PC
Code review follow-up: role="listitem" was set directly on the card's
<Link> (an <a href>), which overrides the anchor's implicit "link" role
so screen readers no longer announce each card as a link. Move
role="listitem" to a wrapper div so the list semantics and the link
semantics both survive.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q4xBbTDDCCxzmFGzGpo1PC
Refactor transactions page for mobile responsiveness
@jamespepper81 jamespepper81 merged commit f806622 into main Jun 17, 2026
8 checks passed
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.

2 participants