L'embed est du HTML, pas un PDF

This commit is contained in:
bohwaz 2021-12-17 14:20:18 +01:00
parent 651d035ecc
commit a28b644795

View File

@ -14,6 +14,6 @@
{/if} {/if}
<div style="margin-top: 1em; width: min-content;"> <div style="margin-top: 1em; width: min-content;">
<embed src="pdf.php?id={$id}" type="application/pdf" width="840px" height="1188px" style="max-width: 900px; border: 1px solid black;"> <embed src="pdf.php?id={$id}" width="840px" height="1188px" style="max-width: 900px; border: 1px solid black;">
</div> </div>
{include file="admin/_foot.tpl"} {include file="admin/_foot.tpl"}