-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Button element settings in theme.json breaks the Fill/Outline button functionality #42097
Comments
After looking into this, I think part of the solution requires that we express block styles variations differently. |
Not sure if this is related or not but the latest version of WP and/or Gutenberg prevents the outline button from displaying the border only in Gutenberg. The front-end works ok. Here's a quick video demoing the issue. Notice there is no border when viewing the button in Gutenberg. This demo uses only default Twenty Twenty Two and Gutenberg. |
Description
If you set border settings for the button element, the Fill/Outline functionality works not consistently.
Step-by-step reproduction instructions
emptytheme
to discard theme interferencestheme.json
Screenshots, screen recording, code snippet
button3.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: