-
Notifications
You must be signed in to change notification settings - Fork 219
Product Gallery Pager: Remove unnecessary margin #11287
Product Gallery Pager: Remove unnecessary margin #11287
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: +15 B (0%) Total Size: 1.54 MB
ℹ️ View Unchanged
|
Hey @danieldudzic, I don't see the |
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.
Thank you for working on this @danieldudzic, I just tested and can confirm that the margin was successfully removed from the block; however, I noticed that when the Pager display mode is set to "Dots" the icons the icons get cut off:
Is this happening to you as well?
I don't see the Product Gallery block in the inserter. I'm on trunk in development mode. I see the Product Image Gallery, but not the Product Gallery 🤔
Is there any error appearing in the console? I'm not sure if it's the cause, but the Product Gallery block is currently working only within the Single Product template.
This PR has been marked as If deemed still relevant, the pr can be kept active by ensuring it's up to date with the main branch and removing the stale label. |
👋 @thealexandrelara I'm struggling to replicate. It seems that a cut-off like that would be caused by incorrect icon sizing (or its container) rather than a lack of margin. Can you please share details of the browser, and specific block setup with which you were able to replicate? |
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.
👋 @thealexandrelara I'm struggling to replicate.
It seems that a cut-off like that would be caused by incorrect icon sizing (or its container) rather than a lack of margin.
Can you please share details of the browser, and specific block setup with which you were able to replicate?
I was testing it again and the problem was fixed, maybe when you merged trunk into this branch, the issue was fixed because I'm not able to reproduce it anymore. Thank you for working on this, I'm approving the PR 🚀
* Updated changelog and added testing instructions * Updated changelog. * Updated versions. * Updated tested up to * Updated tested up to * Uploaded testing zip * Removed #11287 from testing instructions * Added testing instructions and changelog for #11858 * Updated testing zip * Testing instructions for #11862 and #11860 * Updated testing zip * New testing zip with #11872 🍒 * Updated versions to 11.7.0-dev * Updated composer.lock
What
Fixes #11285
Why
This PR removes the excess top & bottom margins from the Product Gallery Pager.
Testing Instructions
Please consider any edge cases this change may have, and also other areas of the product this may impact.
Appearance > Editor
.Templates > Single Product
.Convert to Blocks
if you are using the Classic Templates.Product Gallery
block.Screenshots or screencast
Editor:
Frontend:
WooCommerce Visibility
Required:
Checklist
Required:
[type]
label or a[skip-changelog]
label.Conditional:
[skip-changelog]
label is not present).Changelog