Page MenuHomePhabricator

[cashtab] Fix header copy address button hover styles
ClosedPublic

Authored by johnkuney on Mon, May 19, 06:37.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Commits
rABCe519af1dbe60: [cashtab] Fix header copy address button hover styles
Summary

Reported that the copy address button in the header, on mobile, would hang on the hover state background color
Moving the hover styles to a more specific selector

Test Plan

preview the site and check out the button on mobile

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bytesofman added a subscriber: bytesofman.

seems like the root cause here is that mobile browsers occasionally do not clear the hover state. In testing, noticed this is also happening with the SvgButtonOrLinkCss components (e.g. the copy paste button on the wallet page)

various solutions but the one here does seem to be the most concise.

Please also apply on the SvgButtonOrLinkCss component while we're at it (i've done this and applied + deployed at cashtab.io, works).

This revision is now accepted and ready to land.Mon, May 19, 12:42

add change to SvgButtonOrLinkCss as well