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:
parent
84ed581215
commit
7163d610e5
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
Significance: patch
|
||||
Type: tweak
|
||||
Comment: Product Gallery: Fix Large Image snapping position on window resize.
|
|
@ -0,0 +1,3 @@
|
|||
Significance: patch
|
||||
Type: tweak
|
||||
Comment: Product Gallery: Fix Large Image snapping position on window resize.
|
Loading…
Reference in New Issue