Add scale PDF preview (#2478)

Signed-off-by: Denis Maslennikov <denis.maslennikov@gmail.com>
This commit is contained in:
Denis Maslennikov 2022-12-28 10:46:37 +07:00 committed by GitHub
parent 67504132f1
commit 2a268b9225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@
<iframe
class="pdfviewer-content"
style:margin={$deviceInfo.minWidth ? '.5rem' : '1.5rem'}
src={getFileUrl(file)}
src={getFileUrl(file) + '#view=fitH'}
title=""
/>
{/if}