Skip to content

Commit

Permalink
Update default vertical alignment to better align multi-line text
Browse files Browse the repository at this point in the history
  • Loading branch information
hollandjake committed Dec 27, 2024
1 parent 325421a commit 36e98d7
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export class PDFTable {

// Default alignment
if (align.x === undefined) align.x = "left";
if (align.y === undefined) align.y = "center";
if (align.y === undefined) align.y = "top";

if (typeof value === "boolean") value = value ? "\u2713" : "\u2715";
if (value !== null && value !== undefined) value = String(value);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 36e98d7

Please sign in to comment.