Skip to content

Commit 052270d

Browse files
committed
Small fix
1 parent e509f2e commit 052270d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/Settings/Export/Export.helpers.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,7 @@ pdfMake.tableLayouts = {
387387

388388
function getCellWidths(columns, picsee = false) {
389389
const GRID_WIDTH = picsee ? PICSEEPAL_GRID_WIDTH : PDF_GRID_WIDTH;
390-
const cellWidht = Math.floor(
391-
(GRID_WIDTH - PDF_BORDER_WIDTH * columns) / columns
392-
);
390+
const cellWidht = (GRID_WIDTH - PDF_BORDER_WIDTH * columns) / columns;
393391
const cellWidths = new Array(columns).fill(cellWidht);
394392
return cellWidths;
395393
}

0 commit comments

Comments
 (0)