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.
This commit is contained in:
clawbot
2026-02-28 11:04:37 -08:00
parent 71ef08fe85
commit 93565c7196

View File

@@ -40,7 +40,7 @@ function blockieHtml(address) {
function etherscanLinkHtml(url) {
return (
`<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>`
);
}