@syncfusion/ej2-layouts 20.1.58 → 20.1.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3253,9 +3253,15 @@ var DashboardLayout = /** @__PURE__ @class */ (function (_super) {
3253
3253
  var heightValue;
3254
3254
  var widthValue;
3255
3255
  if (this.checkMediaQuery()) {
3256
- heightValue = ((this.maxRow()) *
3256
+ var entirePanelsY = 0;
3257
+ for (var i = 0; i < this.panels.length; i++) {
3258
+ if (this.panels[i].sizeY) {
3259
+ entirePanelsY += this.panels[i].sizeY;
3260
+ }
3261
+ }
3262
+ heightValue = ((entirePanelsY) *
3257
3263
  (this.element.parentElement && ((this.element.parentElement.offsetWidth)) / this.cellAspectRatio) +
3258
- (this.maxRow() - 1) * this.cellSpacing[1]) + 'px';
3264
+ (entirePanelsY - 1) * this.cellSpacing[1]) + 'px';
3259
3265
  }
3260
3266
  else {
3261
3267
  heightValue = ((this.maxRow()) *