mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 21:54:30 -04:00
Wrap the canvas in scrollable div
This commit is contained in:
parent
d9bd653a44
commit
a56fcc3872
@ -82,8 +82,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
@if($mobile)
|
@if($mobile)
|
||||||
<div class="flex justify-center">
|
<div class="w-full h-full overflow-auto mt-4">
|
||||||
<canvas id="pdf-placeholder" class="shadow rounded-lg bg-white mt-4 p-4"></canvas>
|
<canvas id="pdf-placeholder" class="shadow rounded-lg bg-white"></canvas>
|
||||||
</div>
|
</div>
|
||||||
@else
|
@else
|
||||||
<iframe id="pdf-iframe" src="{{ $url ?? $entity->pdf_file_path(null, 'url', true) }}" class="h-screen w-full border-0 mt-4"></iframe>
|
<iframe id="pdf-iframe" src="{{ $url ?? $entity->pdf_file_path(null, 'url', true) }}" class="h-screen w-full border-0 mt-4"></iframe>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user