WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.34k stars 4.13k forks source link

Add "Width" and "Height" settings to Woo blocks nested inside Group/Row/Stack/Grid #65342

Closed octaedro closed 2 days ago

octaedro commented 5 days ago

What problem does this address?

From WooCommerce issue #47884

Screenshot 2024-09-13 at 4 19 50 PM

We don't support the Width, Height, Min. Width, and Min. Height controls like most core blocks when nested inside a container block (Group, Row, Stack, Grid). Let's start by adding them to the Product Collection block.

What is your proposed solution?

The new controls should be displayed in the Dimensions section in the Inspector panel.

image

// CC @jarekmorawski @j111q

Mamaduka commented 5 days ago

@octaedro, unless I'm missing some context, this looks like an issue for the WooCommerce repo.

octaedro commented 2 days ago

Thank you @Mamaduka. You're right; it's a WooCommerce issue. I'll close this issue.