component refactorein

This commit is contained in:
Burak Civan
2022-08-16 15:20:03 +03:00
parent 61980881ac
commit b6fd820899
4 changed files with 7 additions and 7 deletions

View File

@@ -0,0 +1,9 @@
@if (strlen($slot) >= 25 )
<x-tooltip id="page-title" placement="bottom" message="{!! $slot !!}">
<div class="truncate" style="width: 22rem;">
{!! $slot !!}
</div>
</x-tooltip>
@else
{!! $slot !!}
@endif