html tag edited for print template

This commit is contained in:
Burak Civan 2022-06-06 17:59:36 +03:00
parent 37f59eb310
commit 08604acdbb
6 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ th, td
padding: 10px 9px 10px 9px; padding: 10px 9px 10px 9px;
} }
p { .print-template p {
color: #424242; color: #424242;
margin-bottom: 9px; margin-bottom: 9px;
} }

View File

@ -1,4 +1,4 @@
<div class="p-7 shadow-2xl rounded-2xl"> <div class="p-7 shadow-2xl rounded-2xl print-template">
@if ($documentTemplate) @if ($documentTemplate)
@switch($documentTemplate) @switch($documentTemplate)
@case('classic') @case('classic')

View File

@ -6,7 +6,7 @@
<span class="material-icons text-base">attach_file</span> <span class="material-icons text-base">attach_file</span>
@endif @endif
<div class="flex flex-col text-gray-500 ml-3 gap-y-1"> <div class="flex flex-col text-gray-500 ml-3 gap-y-1">
<span class="w-80 text-sm truncate">{{ $file->basename }}</span> <span class="w-64 text-sm truncate">{{ $file->basename }}</span>
<span class="text-xs mb-0">{{ $file->readableSize() }}</span> <span class="text-xs mb-0">{{ $file->readableSize() }}</span>
</div> </div>
</div> </div>

View File

@ -14,7 +14,7 @@
x-ref="accordion_{{ $type }}" x-ref="accordion_{{ $type }}"
x-bind:class="{{ $type }} == 'open' ? 'h-auto ' : 'scale-y-0 h-0'" x-bind:class="{{ $type }} == 'open' ? 'h-auto ' : 'scale-y-0 h-0'"
> >
<div class="my-3 space-x-3 rtl:space-x-reverse"> <div class="my-3">
{!! $body !!} {!! $body !!}
</div> </div>
</div> </div>

View File

@ -1,4 +1,4 @@
<div class="p-7 shadow-2xl rounded-2xl"> <div class="p-7 shadow-2xl rounded-2xl print-template">
@if ($transactionTemplate) @if ($transactionTemplate)
@switch($transactionTemplate) @switch($transactionTemplate)
@case('classic') @case('classic')

View File

@ -6,7 +6,7 @@
</div> </div>
<div class="w-full lg:w-7/12"> <div class="w-full lg:w-7/12">
<div class="p-7 shadow-2xl rounded-2xl"> <div class="p-7 shadow-2xl rounded-2xl print-template">
<x-transfers.show.template :model="$transfer" /> <x-transfers.show.template :model="$transfer" />
</div> </div>
</div> </div>