diff --git a/public/static/css/phone-image-templates.css b/public/static/css/phone-image-templates.css index a2590d9..6f8078f 100644 --- a/public/static/css/phone-image-templates.css +++ b/public/static/css/phone-image-templates.css @@ -297,6 +297,7 @@ overflow: hidden; word-break: break-word; line-height: 2.0; + font-size: calc(14px * var(--pi-font-scale, 1)); } .page-content p { diff --git a/public/static/js/phone-image.js b/public/static/js/phone-image.js index eae35fe..a726555 100644 --- a/public/static/js/phone-image.js +++ b/public/static/js/phone-image.js @@ -186,6 +186,12 @@ var PhoneImageEngine = (function () { staging.style.setProperty('--pi-table-font-scale', tableScale); staging.style.setProperty('--pi-code-font-scale', codeScale); } + var paginated = document.getElementById('paginated-preview'); + if (paginated) { + paginated.style.setProperty('--pi-font-scale', scale); + paginated.style.setProperty('--pi-table-font-scale', tableScale); + paginated.style.setProperty('--pi-code-font-scale', codeScale); + } } /**