summaryrefslogtreecommitdiff
path: root/mtg-pdf.php
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-11-26 11:51:23 +0100
committerDaniel Weipert <code@drogueronin.de>2023-11-26 11:51:23 +0100
commit7bfd13f0886548dcd9a414c702144429fb117b04 (patch)
tree46f99d218992771fda72dd6d6c26da3398f3bf11 /mtg-pdf.php
parent5d55842c465710c910735bb6a55fcb42f910984e (diff)
update commit
Diffstat (limited to 'mtg-pdf.php')
-rw-r--r--mtg-pdf.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtg-pdf.php b/mtg-pdf.php
index 9b705b0..087ae9e 100644
--- a/mtg-pdf.php
+++ b/mtg-pdf.php
@@ -112,7 +112,7 @@ $html = str_replace('{{imgs}}', implode('', $imgs), $template);
$request = Gotenberg::chromium('gotenberg:3000')
->paperSize(8.27, 11.7) # A4
- ->margins(0, 0, 0, 0)
+ ->margins(0.3, 0, 0.3, 0)
->outputFilename(date("Ymd_His"))
->html(Stream::string('index.html', $html));