Changed iframe to embed to display pdf
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user