Fix: update frontend to render css grid and proper aspect ratios for doc thumbnails, fix pdf landscape orientation
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m19s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m19s
This commit is contained in:
parent
130aa1b806
commit
1c721b6f6f
4 changed files with 57 additions and 28 deletions
|
|
@ -218,7 +218,8 @@ func generateOfficeThumbnail(filePath, destPath string, cfg *config.Config) erro
|
|||
"ignorePrintArea": true,
|
||||
"printGridlines": true,
|
||||
"printHeadings": true,
|
||||
"fitToWidth": 1,
|
||||
"fitToWidth": 0,
|
||||
"orientation": "landscape",
|
||||
},
|
||||
}
|
||||
pdfUrl, err := callConvert(pdfPayload)
|
||||
|
|
|
|||
Reference in a new issue