diff --git a/web/client/plugins/Widgets.jsx b/web/client/plugins/Widgets.jsx index a2dd248c2e..30b4cd0d19 100644 --- a/web/client/plugins/Widgets.jsx +++ b/web/client/plugins/Widgets.jsx @@ -144,7 +144,7 @@ compose( } : {}; const widthOptions = width ? {width: viewWidth - 1} : {}; const baseHeight = isSingleWidgetLayout - ? rowHeight || rowHeightRecalculated + ? rowHeightRecalculated : Math.floor((height - 100) / (rowHeightRecalculated + 10)) * (rowHeightRecalculated + 10); return ({ rowHeight: isSingleWidgetLayout ? rowHeightRecalculated : rowHeight || rowHeightRecalculated,