Product Gallery: Fix Large Image snapping position on window resize (#43251)

* Product Gallery: Fix Large Image snapping position on window resize

* Product Gallery Snap Fix: Add changelog
This commit is contained in:
Daniel Dudzic 2024-01-03 17:46:43 +01:00 committed by GitHub
parent 84ed581215
commit 7163d610e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 1 deletions

View File

@ -155,15 +155,16 @@ $admin-bar-mobile-height: 46px;
width: 100%;
display: flex;
align-items: center;
scroll-snap-align: none center;
}
.wc-block-product-gallery-large-image__container {
display: flex;
overflow-x: hidden;
scroll-snap-type: x mandatory;
scroll-behavior: auto;
width: fit-content;
height: fit-content;
scroll-behavior: auto;
align-items: center;
}

View File

@ -0,0 +1,3 @@
Significance: patch
Type: tweak
Comment: Product Gallery: Fix Large Image snapping position on window resize.

View File

@ -0,0 +1,3 @@
Significance: patch
Type: tweak
Comment: Product Gallery: Fix Large Image snapping position on window resize.