Skip to content

Commit

Permalink
ignore rowheight for singleWidgetLayout (#10681) (#10689)
Browse files Browse the repository at this point in the history
  • Loading branch information
rowheat02 authored Nov 21, 2024
1 parent 8a32534 commit 02811cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client/plugins/Widgets.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 02811cc

Please sign in to comment.