component refactorein
This commit is contained in:
9
resources/views/components/title.blade.php
Normal file
9
resources/views/components/title.blade.php
Normal 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
|
Reference in New Issue
Block a user