Skip to content

Commit

Permalink
adjust header
Browse files Browse the repository at this point in the history
  • Loading branch information
ardean committed Jan 2, 2017
1 parent e03841b commit b40b497
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/pdf-invoice-simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,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
}
}, {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pdf-invoice-simple",
"description": "A simple pdf invoice template",
"version": "0.3.5",
"version": "0.3.6",
"author": "Orbin",
"keywords": [
"pdf",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,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
}
}, {
Expand Down

0 comments on commit b40b497

Please sign in to comment.