slot is html control
This commit is contained in:
parent
e46df4ae2d
commit
e82f936571
|
|
@ -1,4 +1,8 @@
|
|||
@if (strlen($slot) >= 25 )
|
||||
@php
|
||||
$slot_isHtml = strlen(strip_tags($slot)) < strlen($slot);
|
||||
@endphp
|
||||
|
||||
@if (strlen($slot) >= 25 && $slot_isHtml != true)
|
||||
<x-tooltip id="page-title" placement="bottom" message="{!! $slot !!}">
|
||||
<div class="truncate" style="width: 22rem;">
|
||||
{!! $slot !!}
|
||||
|
|
|
|||
Loading…
Reference in New Issue