PDF without navbar (#3041)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-04-21 16:31:52 +06:00 committed by GitHub
parent e0e9249270
commit 134a4fe10c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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