Skip to content

Commit

Permalink
fix: make window wider
Browse files Browse the repository at this point in the history
Signed-off-by: arcanist <[email protected]>
  • Loading branch information
arcanistzed committed Jun 15, 2022
1 parent 1bd24fa commit 0f7a035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pdfsheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class Pdfconfig extends FormApplication {
template: "modules/pdf-sheet/templates/module.hbs",
id: "pdf-sheet",
height: window.innerHeight * 7 / 8,
width: window.innerWidth > 1600 ? window.innerWidth * 1 / 4 : 400,
width: Math.max(window.innerWidth * 1 / 3, 600),
resizable: true,
title: "Export to PDF"
});
Expand Down

0 comments on commit 0f7a035

Please sign in to comment.