Merge pull request #2606 from brkcvn/master

Tooltip appear in Dashboard title
This commit is contained in:
Burak Civan
2022-08-24 10:34:33 +03:00
committed by GitHub

View File

@ -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 !!}