Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Products block: Selected product has additional spacing in the editor #7866

Closed
Tracked by #42616
Marc-pi opened this issue Dec 7, 2022 · 3 comments
Closed
Tracked by #42616
Labels
block-type: product-query Issues related to/affecting all product-query variations. type: bug The issue/PR concerns a confirmed bug.

Comments

@Marc-pi
Copy link

Marc-pi commented Dec 7, 2022

Describe the bug

Products Block (new Query Loop Product block)
Content is not aligned

To reproduce

Steps to reproduce the behavior:

  1. Create a set of products
  2. Add the block
  3. Observe the display
  4. See error

Expected behavior

Strange, content is not well aligned, despite pictures/ contents are the same...
Missing "Align the last block to the bottom" (for the add to cart button), like we have in other blocks ?

Screenshots

image

Environment

WP6.1.1
Woo Blocks 9.1
Gutenberg plugin 14.6.1
WC 7.1
TT2 Theme

@Marc-pi Marc-pi added the type: bug The issue/PR concerns a confirmed bug. label Dec 7, 2022
@danieldudzic danieldudzic changed the title New Products Blocks > non aligned content Products block: Selected product has additional spacing in the editor Dec 23, 2022
@danieldudzic
Copy link
Contributor

Thank you for reporting this, @Marc-pi.

Edit_Page_“All_Products”_‹ratings—_WordPress (1)

This is caused by inline styling being added when a product is being selected (in the editor).

I'm not sure where this CSS is coming from, though:

notify (1)

@danieldudzic danieldudzic added the block-type: product-query Issues related to/affecting all product-query variations. label Dec 23, 2022
@danieldudzic
Copy link
Contributor

There's a similar issue in Gutenberg core: WordPress/gutenberg#45590

@imanish003
Copy link
Contributor

It appears that this issue has been addressed and resolved in the upstream Gutenberg repository. I will proceed to close this issue for now. However, if you encounter any further problems related to this issue, please do not hesitate to inform us. We would be more than happy to reopen the issue if necessary.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
block-type: product-query Issues related to/affecting all product-query variations. type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
Development

No branches or pull requests

3 participants