Button elements: text decoration isnot applying in the frontend on the button block #42292
Labels
[Block] Buttons
Affects the Buttons Block
CSS Styling
Related to editor and front end styles, CSS-specific issues.
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Bug
An existing feature does not function as intended
Description
The text decoration settings for the button elements are not applying for the Button block on the frontend (they work on the editor).
Step-by-step reproduction instructions
Add this to theme.json inside styles:
Insert a button and check the editor and the frontend. Empty theme works fine for this.
Screenshots, screen recording, code snippet
Editor
Frontend
Environment info
No response
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: