long text controlled for page title

This commit is contained in:
Burak Civan
2022-08-02 10:32:37 +03:00
parent 546d359d04
commit 24c7e81419
5 changed files with 21 additions and 4 deletions

View File

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