slot is html control
This commit is contained in:
@ -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 !!}
|
||||
|
Reference in New Issue
Block a user