unused developments ejected

This commit is contained in:
Burak Civan
2022-10-18 17:18:32 +03:00
parent 3ab2129a35
commit eb7dcbfb05
8 changed files with 13 additions and 62 deletions

View File

@ -1,21 +0,0 @@
@php
$slot_text_length = strlen($slot);
$slot_isHtml = strlen(strip_tags($slot)) < strlen($slot);
@endphp
@if ($slot_text_length >= '30' && ! $slot_isHtml)
<div data-truncate-parent class="flex lg:block truncate">
<div
@class([
$width,
'truncate',
])
data-truncate
>
{!! $slot !!}
</div>
</div>
@else
{!! $slot !!}
@endif

View File

@ -1,4 +1,4 @@
<td data-truncate-table class="{{ $class }}" {{ $attributes }}>
<td class="{{ $class }}" {{ $attributes }}>
@if (!empty($first))
@php
$first_attributes = $first->attributes;