Skip to content

Commit 8cf3daa

Browse files
authored
Fix table scaling (#3044)
1 parent b0f6d29 commit 8cf3daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/libs/DatalensChartkit/ChartKit/plugins/Table/renderer/components/Table/usePreparedTableData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ export const usePreparedTableData = (props: {
269269
return rowSpan <= 1;
270270
});
271271

272-
return simpleCell?.getBoundingClientRect()?.height ?? 0;
272+
return simpleCell?.offsetHeight ?? 0;
273273
};
274274

275275
if (rowId && typeof rowMeasures[rowId] === 'undefined') {

0 commit comments

Comments
 (0)