Skip to content

Commit

Permalink
Product Gallery: Fix Large Image snapping position on window resize (#…
Browse files Browse the repository at this point in the history
…43251)

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

* Product Gallery Snap Fix: Add changelog
  • Loading branch information
danieldudzic committed Jan 3, 2024
1 parent 84ed581 commit 7163d61
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Significance: patch
Type: tweak
Comment: Product Gallery: Fix Large Image snapping position on window resize.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Significance: patch
Type: tweak
Comment: Product Gallery: Fix Large Image snapping position on window resize.

0 comments on commit 7163d61

Please sign in to comment.