Skip to content

Commit 220d951

Browse files
committed
ACP2E-1239: Shifting of the PDP main image
- Fixed the issue.
1 parent 9394609 commit 220d951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/gallery/gallery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ define([
132132
data: _.clone(config.data)
133133
};
134134
config.options.ratio = config.options.width / config.options.height;
135-
config.options.height = null;
135+
config.options.height = $(element).height();
136136

137137
$.extend(true, this.startConfig, config);
138138

0 commit comments

Comments
 (0)