Skip to content

Commit

Permalink
fix: overall page margin
Browse files Browse the repository at this point in the history
  • Loading branch information
wayne-shih committed Nov 29, 2023
1 parent ab55d74 commit 6e1874e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pdf-gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default async function createPdf(specUrl, options) {
const finalDocDef = {
footer(currentPage, pageCount) {
return {
margin: 10,
margin: 20,
columns: [
{ text: options.pdfFooterText, style: ['sub', 'gray', 'left'] },
{ text: `${currentPage} of ${pageCount}`, style: ['sub', 'gray', 'right'] },
Expand Down

0 comments on commit 6e1874e

Please sign in to comment.