Skip to content

Commit 5775638

Browse files
author
Mohan Ahuja
committed
ACP2E-71: Shifting of the PDP main image
- Updated gallery.less CSS file to not shift image after it has been loaded on product details page.
1 parent 65714d4 commit 5775638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/gallery/gallery.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@
781781
max-height: 100%;
782782
max-width: 100%;
783783
position: absolute;
784-
top: 50%;
784+
top:49.5%;
785785
.fotorama-translate3d(-50%, -50%, 0);
786786
transition-duration: @fotorama-fullscreen-zoom-time;
787787
transition-property: width, height, top, left;

0 commit comments

Comments
 (0)