Merge pull request #2607 from brkcvn/master
Code refactoring for title component
This commit is contained in:
commit
c2c8568ff8
@ -2,7 +2,7 @@
|
||||
$slot_isHtml = strlen(strip_tags($slot)) < strlen($slot);
|
||||
@endphp
|
||||
|
||||
@if (strlen($slot) >= 25 && $slot_isHtml != true)
|
||||
@if (strlen($slot) >= 25 && ! $slot_isHtml)
|
||||
<x-tooltip id="page-title" placement="bottom" message="{!! $slot !!}">
|
||||
<div class="truncate" style="width: 22rem;">
|
||||
{!! $slot !!}
|
||||
|
Loading…
x
Reference in New Issue
Block a user