long text controlled for document information

This commit is contained in:
Burak Civan 2022-06-07 17:27:40 +03:00
parent 6048dc3128
commit 935e1b506e

View File

@ -34,16 +34,14 @@
</div>
<div class="flex flex-col">
<div class="flex items-center">
@php $history = $document->last_history; @endphp
<span class="font-medium mr-2">
{{ $history->description }}
</span>
@php $history = $document->last_history; @endphp
<span class="w-72 font-medium mr-2 truncate">
{{ $history->description }}
</span>
<span class="flex items-center font-normal">
{{ \Date::parse($history->created_at)->diffForHumans() }}
</span>
</div>
<span class="flex items-center font-normal">
{{ \Date::parse($history->created_at)->diffForHumans() }}
</span>
</div>
</li>