Compare commits

..

3 Commits

Author SHA1 Message Date
clawbot
93565c7196 fix: match etherscan link styling to other views (remove extra border/hover/padding)
All checks were successful
check / check (push) Successful in 21s
The etherscanLinkHtml helper had added border, px-1, hover:bg-fg,
hover:text-bg, and cursor-pointer classes that no other view uses.
All other views (addressDetail, addressToken, confirmTx, send, receive,
home, txStatus) use only 'inline-flex items-center' on etherscan links.
Removed the extra classes for consistency.
2026-02-28 11:04:37 -08:00
clawbot
71ef08fe85 fix: address all 3 violations from #59
1. Protocol name now has Etherscan link (was appearing clickable but wasn't)
2. Token contract addresses: symbol shown separately, then color dot +
   full address + Etherscan link (symbol no longer interposed)
3. Raw data section moved after transaction hash (no longer pushes
   useful info off screen)
2026-02-28 11:03:20 -08:00
clawbot
8d230aceb6 fix: enforce UI policies on transaction detail view
- Add clickable affordance (border + hover state) to all Etherscan external
  links on addresses and transaction hash per clickable affordance policy
- Fix address display when ENS name is present: show color dot and Etherscan
  link on the full address line (previously only shown on ENS name line)
- Extract etherscanLinkHtml helper for consistent link styling

Closes #59
2026-02-28 11:03:20 -08:00

View File

@@ -40,7 +40,7 @@ function blockieHtml(address) {
function etherscanLinkHtml(url) { function etherscanLinkHtml(url) {
return ( return (
`<a href="${url}" target="_blank" rel="noopener" ` + `<a href="${url}" target="_blank" rel="noopener" ` +
`class="inline-flex items-center border border-border px-1 hover:bg-fg hover:text-bg cursor-pointer"` + `class="inline-flex items-center"` +
`>${EXT_ICON}</a>` `>${EXT_ICON}</a>`
); );
} }