pace-table-lib 1.0.36 → 1.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17469,14 +17469,13 @@ function StaticTable({
17469
17469
  rowCellH = newRowHeight;
17470
17470
  }
17471
17471
  if (isFitTableOn) {
17472
- const baseColWidth = Math.floor(tableWidth / columnCount);
17472
+ const baseColWidth = Math.floor((tableWidth - 1) / columnCount);
17473
17473
  const extraWidth = tableWidth - baseColWidth * columnCount;
17474
17474
  nonFixColCellW = baseColWidth;
17475
17475
  fixedColCellW = baseColWidth + extraWidth;
17476
17476
  const baseRowHeight = Math.floor(tableHeight / rowCount);
17477
- const extraHeight = tableHeight - baseRowHeight * rowCount;
17478
17477
  rowCellH = baseRowHeight;
17479
- colCellH = baseRowHeight + extraHeight;
17478
+ colCellH = baseRowHeight;
17480
17479
  }
17481
17480
  return {
17482
17481
  colCellHeight: Number(colCellH),