We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e509f2e commit 052270dCopy full SHA for 052270d
src/components/Settings/Export/Export.helpers.js
@@ -387,9 +387,7 @@ pdfMake.tableLayouts = {
387
388
function getCellWidths(columns, picsee = false) {
389
const GRID_WIDTH = picsee ? PICSEEPAL_GRID_WIDTH : PDF_GRID_WIDTH;
390
- const cellWidht = Math.floor(
391
- (GRID_WIDTH - PDF_BORDER_WIDTH * columns) / columns
392
- );
+ const cellWidht = (GRID_WIDTH - PDF_BORDER_WIDTH * columns) / columns;
393
const cellWidths = new Array(columns).fill(cellWidht);
394
return cellWidths;
395
}
0 commit comments