Skip to content

Commit

Permalink
ignore rowheight for singleWidgetLayout (#10681)
Browse files Browse the repository at this point in the history
  • Loading branch information
rowheat02 authored Nov 18, 2024
1 parent f5ec4f3 commit 7743c32
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 7743c32

Please sign in to comment.