diff --git a/dist/pdf-reminder-simple.js b/dist/pdf-reminder-simple.js index 050b484..bd6f583 100644 --- a/dist/pdf-reminder-simple.js +++ b/dist/pdf-reminder-simple.js @@ -172,7 +172,7 @@ return /******/ (function(modules) { // webpackBootstrap margin: [0, 30, 0, 0], layout: "noBorders", table: { - widths: ["auto", "auto", "*", "auto", "auto"], + widths: invertHeader ? ["auto", 210, 0, "auto", "auto"] : ["auto", "auto", "*", "auto", "auto"], body: headTableBody } }, { diff --git a/package.json b/package.json index aeaf260..58f3651 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "pdf-reminder-simple", "description": "A simple pdf reminder template", - "version": "0.2.2", + "version": "0.2.3", "author": "Orbin", "keywords": [ "pdf", diff --git a/src/index.js b/src/index.js index 03fbdcb..1afd8ca 100644 --- a/src/index.js +++ b/src/index.js @@ -99,7 +99,7 @@ function getTemplate(options) { margin: [0, 30, 0, 0], layout: "noBorders", table: { - widths: ["auto", "auto", "*", "auto", "auto"], + widths: invertHeader ? ["auto", 210, 0, "auto", "auto"] : ["auto", "auto", "*", "auto", "auto"], body: headTableBody } }, {