wpengine / frost

The ultimate WordPress block theme for website designers and developers.
https://wordpress.org/themes/frost/
GNU General Public License v3.0
573 stars 149 forks source link

Button Fill style does not have border #105

Closed slaFFik closed 2 years ago

slaFFik commented 2 years ago

Description

Button Fill style does not have border, but its hover state does have it - so on the front-end and inside the Block Editor there is a 2px content jump because on button hover 2 new pixels are dedicated to the border.

Button Outline style does not have such issue.

Step-by-step reproduction instructions

  1. add the Button block
  2. use the Fill style
  3. hover over the button in the preview (or on front-end)

Screenshots, screen recording, code snippet

No response

Environment info

WordPress 6.0.1 and its default Block Editor, no Gutenberg plugin, FrostWP 0.9.8, no other custom plugins or code activated.

Please confirm that you have searched existing issues in the repo.

Yes

bgardner commented 2 years ago

@slaFFik Frost is meant to be run with the Gutenberg plugin active. What you see/are reporting is a result of the lack of support for the button element in core WordPress 6.0.1.