From 7743c321b76f9432591e89255919dbbd180ad738 Mon Sep 17 00:00:00 2001 From: RowHeat <40065760+rowheat02@users.noreply.github.com> Date: Mon, 18 Nov 2024 21:11:01 +0545 Subject: [PATCH] ignore rowheight for singleWidgetLayout (#10681) --- web/client/plugins/Widgets.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,