diff --git a/src/editor/index.html b/src/editor/index.html index 7453ec2..7f850c0 100644 --- a/src/editor/index.html +++ b/src/editor/index.html @@ -22,6 +22,7 @@ + @@ -33,6 +34,15 @@ + +
+

The HTML that JSONCV generates is optimized for printing in an A4 letter, so it can be used to create a well-formatted PDF document.

+

You can first click "Download HTML", then open the HTML in a browser and choose "Print" from the menu (or press ⌘+P), it will open a modal where you should find the option to save it as a PDF.

+

For best compatibility, I recommend using Firefox rather than Chrome to complete this process.

+ +
+
+ diff --git a/src/scss/styles.scss b/src/scss/styles.scss index c05627e..50afaa4 100644 --- a/src/scss/styles.scss +++ b/src/scss/styles.scss @@ -118,6 +118,10 @@ body { overflow-x: auto; } +dialog { + width: min(400px, 80%); +} + @keyframes bgFade { 0% {