Merge pull request #2606 from brkcvn/master
Tooltip appear in Dashboard title
This commit is contained in:
commit
ed5f27af20
@ -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 !!}">
|
<x-tooltip id="page-title" placement="bottom" message="{!! $slot !!}">
|
||||||
<div class="truncate" style="width: 22rem;">
|
<div class="truncate" style="width: 22rem;">
|
||||||
{!! $slot !!}
|
{!! $slot !!}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user