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
|
//margue animation for truncated text
|
||||||
document.querySelectorAll('[data-truncate]').forEach((truncate) => {
|
document.querySelectorAll('[data-truncate]').forEach((truncate) => {
|
||||||
let truncateText = truncate.textContent.split(" ").join("");
|
let truncateText = truncate.innerText.split(" ").join("");
|
||||||
|
|
||||||
if (truncateText.length > 30) {
|
if (truncateText.length > 30) {
|
||||||
truncate.classList.add('truncate');
|
truncate.classList.add('truncate');
|
||||||
|
@ -153,8 +153,10 @@
|
|||||||
<x-slot name="first">
|
<x-slot name="first">
|
||||||
{{ $item->type_title }}
|
{{ $item->type_title }}
|
||||||
</x-slot>
|
</x-slot>
|
||||||
<x-slot name="second" class="flex items-center">
|
<x-slot name="second">
|
||||||
|
<div class="flex items-center">
|
||||||
<x-index.category :model="$item->category" />
|
<x-index.category :model="$item->category" />
|
||||||
|
</div>
|
||||||
</x-slot>
|
</x-slot>
|
||||||
</x-table.td>
|
</x-table.td>
|
||||||
|
|
||||||
|
@ -8,7 +8,9 @@
|
|||||||
}
|
}
|
||||||
@endphp
|
@endphp
|
||||||
<div {{ $first_attributes }}>
|
<div {{ $first_attributes }}>
|
||||||
|
<x-marguee-text>
|
||||||
{!! $first !!}
|
{!! $first !!}
|
||||||
|
</x-marguee-text>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@ -21,9 +23,13 @@
|
|||||||
}
|
}
|
||||||
@endphp
|
@endphp
|
||||||
<div {{ $second_attributes }}>
|
<div {{ $second_attributes }}>
|
||||||
|
<x-marguee-text>
|
||||||
{!! $second !!}
|
{!! $second !!}
|
||||||
|
</x-marguee-text>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
<x-marguee-text>
|
||||||
{{ $slot }}
|
{{ $slot }}
|
||||||
|
</x-marguee-text>
|
||||||
</th>
|
</th>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user