Too long text break the design of the document show page ( #3r57cew )

This commit is contained in:
Cüneyt Şentürk
2023-02-16 16:09:56 +03:00
parent 2fb5c8aea6
commit be6d15d95b
4 changed files with 8 additions and 8 deletions

View File

@ -1,16 +1,16 @@
<tr>
@stack('name_td_start')
@if (! $hideItems || (! $hideName && ! $hideDescription))
<td class="item text text-alignment-left text-left">
<td class="item text text-alignment-left text-left max-w-0">
@if (! $hideName)
{{ $item->name }} <br/>
@endif
@if (! $hideDescription)
@if (! empty($item->description))
<span class="small-text">
<div class="small-text break-words">
{!! \Illuminate\Support\Str::limit(nl2br($item->description), 500) !!}
</span>
</div>
@endif
@endif