Changed iframe to embed to display pdf

This commit is contained in:
2024-08-28 06:59:12 +02:00
parent 9275f29196
commit 607b90dcc7

View File

@@ -1,6 +1,6 @@
<div id="<%= dom_id job %>" class="flex flex-row space-x-4 shadow">
<div>
<iframe src=<%= url_for(@job.pdf) %> width="400" height="600" style="border: solid 1px;"></iframe>
<embed type="application/pdf" src="<%= url_for(@job.pdf) %>" width="800px" height="1000px" class="" />
</div>
<div>
<p class="my-3">