added th text
This commit is contained in:
parent
37c83d3c02
commit
ffcc34b646
2
public/akaunting-js/generalAction.js
vendored
2
public/akaunting-js/generalAction.js
vendored
@ -360,7 +360,7 @@ if (navigator.userAgent.search("Firefox") >= 0) {
|
||||
|
||||
//margue animation for truncated text
|
||||
document.querySelectorAll('[data-truncate]').forEach((truncate) => {
|
||||
let truncateText = truncate.textContent.split(" ").join("");
|
||||
let truncateText = truncate.innerText.split(" ").join("");
|
||||
|
||||
if (truncateText.length > 30) {
|
||||
truncate.classList.add('truncate');
|
||||
|
@ -153,8 +153,10 @@
|
||||
<x-slot name="first">
|
||||
{{ $item->type_title }}
|
||||
</x-slot>
|
||||
<x-slot name="second" class="flex items-center">
|
||||
<x-index.category :model="$item->category" />
|
||||
<x-slot name="second">
|
||||
<div class="flex items-center">
|
||||
<x-index.category :model="$item->category" />
|
||||
</div>
|
||||
</x-slot>
|
||||
</x-table.td>
|
||||
|
||||
|
@ -8,7 +8,9 @@
|
||||
}
|
||||
@endphp
|
||||
<div {{ $first_attributes }}>
|
||||
{!! $first !!}
|
||||
<x-marguee-text>
|
||||
{!! $first !!}
|
||||
</x-marguee-text>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@ -21,9 +23,13 @@
|
||||
}
|
||||
@endphp
|
||||
<div {{ $second_attributes }}>
|
||||
{!! $second !!}
|
||||
<x-marguee-text>
|
||||
{!! $second !!}
|
||||
</x-marguee-text>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{ $slot }}
|
||||
<x-marguee-text>
|
||||
{{ $slot }}
|
||||
</x-marguee-text>
|
||||
</th>
|
||||
|
Loading…
x
Reference in New Issue
Block a user