Skip to content

Commit e6adb98

Browse files
AC-10845::Pagebuilder banner image not visible in gallery
1 parent 26a2870 commit e6adb98

File tree

1 file changed

+8
-7
lines changed
  • app/code/Magento/Ui/view/base/web/js/grid

1 file changed

+8
-7
lines changed

app/code/Magento/Ui/view/base/web/js/grid/masonry.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,15 @@ define([
130130
*/
131131
setLayoutStyles: function (callback) {
132132
var containerWidth, rowImages, ratio, rowHeight, calcHeight, isLastRow, rowNumber;
133+
133134
if (typeof this.container != 'undefined') {
134-
containerWidth = parseInt(this.container.clientWidth, 10),
135-
rowImages = [],
136-
ratio = 0,
137-
rowHeight = 0,
138-
calcHeight = 0,
139-
isLastRow = false,
140-
rowNumber = 1;
135+
containerWidth = parseInt(this.container.clientWidth, 10),
136+
rowImages = [],
137+
ratio = 0,
138+
rowHeight = 0,
139+
calcHeight = 0,
140+
isLastRow = false,
141+
rowNumber = 1;
141142

142143
this.setMinRatio();
143144

0 commit comments

Comments
 (0)