Cherry pick 52431 into release/9.4 (#52541)

* [WordPress 6.7] Fix image aspect ratio in product grid blocks  (#52431)

* Override user agent styling in Chrome

* Add changelog

* Change the approach

* Change the approach one more time

* Prep for cherry pick 52431

---------

Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-11-04 12:07:19 -08:00 committed by GitHub
parent 43af839298
commit 8d43215daa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,7 @@ body.wc-block-product-gallery-modal-open {
img {
height: auto;
width: auto;
width: 100%;
max-width: 100%;
&[hidden] {

View File

@ -173,6 +173,7 @@ WooCommerce comes with some sample data you can use to see how products look; im
**WooCommerce**
* Fix - Product grid blocks: fix Image aspect ratio with WordPress 6.7 [#52431](https://github.com/woocommerce/woocommerce/pull/52431)
* Fix - Product Image Gallery: Render placeholder in Editor in WordPress 6.7 [#52432](https://github.com/woocommerce/woocommerce/pull/52432)
* Fix - Support situations in which (WooCommerce) translations are inadvertently loaded too early. [#52199](https://github.com/woocommerce/woocommerce/pull/52199)
* Fix - Add a retry mechanism to the query to obtain the SKU lock for product creation through the API. [#51735](https://github.com/woocommerce/woocommerce/pull/51735)