Merge branch 'master' of https://github.com/brkcvn/akaunting into code-clean

This commit is contained in:
Burak Civan
2022-08-26 09:29:01 +03:00
4 changed files with 23 additions and 8 deletions

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)
<x-tooltip id="page-title" placement="bottom" message="{!! $slot !!}">
<div class="truncate" style="width: 22rem;">
{!! $slot !!}