Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WhatsApp Block: In the Twenty Twenty-One theme, the focus style overrides the icon in the WhatsApp button #18688

Closed
andrewserong opened this issue Feb 3, 2021 · 0 comments · Fixed by #19356
Assignees
Labels
[Block] Send a message [Type] Bug When a feature is broken and / or not performing as intended

Comments

@andrewserong
Copy link
Member

andrewserong commented Feb 3, 2021

Steps to reproduce the issue

  1. Activate the Twenty Twenty-One theme on your test site
  2. Add the WhatsApp button
  3. Click on the WhatsApp button on the front end of your site
  4. It will appear as though the icon in the button has disappeared

What I expected

The icon to remain white

What happened instead

The icon disappears (really the background value gets overridden)

Screenshots

image

It should look like:

image

It appears to be caused by the background attribute of this rule from twentytwentyone:

image

So, we might want to increase the specificity of the a.whatsapp-block-button selector by adding a :hover pseudo class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Send a message [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants