Skip to content

Commit

Permalink
fix: set default margins to correct size
Browse files Browse the repository at this point in the history
  • Loading branch information
le0m committed Sep 24, 2024
1 parent 9596fb9 commit e25c385
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions print2pdf/print2pdf.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ func getPrintParams(data GetPDFParams) (page.PrintToPDFParams, error) {
params := page.PrintToPDFParams{
PrintBackground: true,
Landscape: false,
MarginTop: 0,
MarginBottom: 0,
MarginLeft: 0,
MarginRight: 0,
MarginTop: 0.4,
MarginBottom: 0.4,
MarginLeft: 0.4,
MarginRight: 0.4,
Scale: 1,
GenerateDocumentOutline: false,
}
Expand Down

0 comments on commit e25c385

Please sign in to comment.