added commands for text

This commit is contained in:
Burak Civan 2022-10-20 16:49:39 +03:00
parent 41b933143b
commit b7829cd198
2 changed files with 6 additions and 0 deletions

View File

@ -8,8 +8,11 @@
} }
@endphp @endphp
<div {{ $first_attributes }}> <div {{ $first_attributes }}>
<!-- first div for restrict of width. With javascript will add (overflow-x-hidden) class name -->
<div> <div>
<!-- There needs to be two div for disable/enable icons. If I don't create this div, animation will work with disable/enable icons -->
<div> <div>
<!-- this tag use for calculate width of text and parent element -->
<span data-truncate> <span data-truncate>
{!! $first !!} {!! $first !!}
</span> </span>

View File

@ -8,8 +8,11 @@
} }
@endphp @endphp
<div {{ $first_attributes }}> <div {{ $first_attributes }}>
<!-- first div for restrict of width. With javascript will add (overflow-x-hidden) class name -->
<div> <div>
<!-- There needs to be two div for disable/enable icons. If I don't create this div, animation will work with disable/enable icons -->
<div> <div>
<!-- this tag use for calculate width of text and parent element -->
<span data-truncate> <span data-truncate>
{!! $first !!} {!! $first !!}
</span> </span>