-
Notifications
You must be signed in to change notification settings - Fork 220
Customer Account block: Fix padding for the block in the Editor #9009
Customer Account block: Fix padding for the block in the Editor #9009
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: +86 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.
What do you think about making similar padding on the frontend to increase the click area, that may be especially useful for mobile shoppers.
I placed the Customer Account and Mini Cart next to each other:
Here you can see a comparison of interactive area on the frontend:
Customer Account | Mini Cart |
---|---|
Let me know if that's something you think is worth addressing, otherwise, it works well! 💪
Hey @kmanijak thank you for reviewing this PR, I think it is a great suggestion, I just pushed a change with what you suggested, so now the icon has a padding around it 🙌 |
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.
🚀
Oooh, I missed this! Thanks for fixing! |
The Customer Account block currently has no padding set to it. This makes the clickable area too small for this block when the user is on the Editor page.
This PR solves that by adding a padding equal to what we have for the Mini Cart block. I also refactored the CSS classes to follow our guidelines
Fixes #8942
Accessibility
prefers-reduced-motion
Other Checks
Screenshots
Testing
Automated Tests
User Facing Testing
WooCommerce Visibility
Performance Impact
Changelog