-
Notifications
You must be signed in to change notification settings - Fork 219
Remove min-height and padding for WP Button elements #9260
Conversation
The release ZIP for this PR is accessible via:
Script Dependencies ReportThere is no changed script dependency between this branch and trunk. This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
Size Change: -9 B (0%) Total Size: 1.1 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for picking up this issue, @tjcafferkey! This is working well in the block themes I tested, but I noticed a small regression in Storefront. I commented it inline. 👇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tested with several themes and it looks great in all of them.
For some reason there was some default styling for
min-height
andpadding
for .wc-block-components-button
elements.I'm not sure the context as to why these were added but with my testing I can't see that this PR introduces any obvious regressions around buttons.
Fixes #8587
Other Checks
Screenshots
Before
After
Testing
Automated Tests
User Facing Testing
WooCommerce Visibility
Changelog