Closed tsadovska closed 1 week ago
@tsadovska this is kind of hard for me to repro. Next time you see this, can you inspect the HTML in the console to see if the text is actually there but perhaps colored incorrectly so it looks missing?
@Wesleyleung Yes, text is present, but has an invisible color. I have updated ticket description.
Ok, I know what happened in our case. The background is transparent in our theme, and the class of this button is:
I am considering an option to solve this case.
Other integrators might choose to use transparent backgrounds too. @yuli-ferna mind making the fixes in Connect (vs just Portal) so that this is addressed for other integrators too? I think the color of the text should be whatever dark color the main card above it is using.
Sure, here is my solution, using the contrast text of warning: https://github.com/wormhole-foundation/wormhole-connect/pull/2758/files#diff-f24e32dd7170837763a7060343e99219c79a4802c9903766294a9ffa81335a2cR81
If you prefer the dark color the main card let me know @Wesleyleung
got it, this is fine with me
Issue is no longer reproducible on https://portalbridge.com/.
Is there an existing issue for this?
Current Behavior
Text is not visible on "Claim" button.
Expected Behavior
"Claim" button has following text: "Claim tokens to complete transfer"
Steps To Reproduce
Environment
Anything else?
No response