Skip to content

Commit adc2841

Browse files
author
Allan Jardine
committed
Fix: Excel output - tweak the default width calculation to be slightly wider
1 parent 363c202 commit adc2841

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/buttons.html5.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,11 +508,11 @@ function _excelColWidth( data, col ) {
508508

509509
// Max width rather than having potentially massive column widths
510510
if ( max > 40 ) {
511-
return 52; // 40 * 1.3
511+
return 54; // 40 * 1.35
512512
}
513513
}
514514

515-
max *= 1.3;
515+
max *= 1.35;
516516

517517
// And a min width
518518
return max > 6 ? max : 6;

0 commit comments

Comments
 (0)