mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-22 16:27:22 +00:00
Add scale PDF preview (#2478)
Signed-off-by: Denis Maslennikov <denis.maslennikov@gmail.com>
This commit is contained in:
parent
67504132f1
commit
2a268b9225
@ -108,7 +108,7 @@
|
|||||||
<iframe
|
<iframe
|
||||||
class="pdfviewer-content"
|
class="pdfviewer-content"
|
||||||
style:margin={$deviceInfo.minWidth ? '.5rem' : '1.5rem'}
|
style:margin={$deviceInfo.minWidth ? '.5rem' : '1.5rem'}
|
||||||
src={getFileUrl(file)}
|
src={getFileUrl(file) + '#view=fitH'}
|
||||||
title=""
|
title=""
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user