rtl controlled for document and transaction show

This commit is contained in:
Burak Civan
2022-08-03 17:07:12 +03:00
parent 179106380c
commit b945539e2e
10 changed files with 355562 additions and 569 deletions

View File

@@ -1,5 +1,5 @@
<div class="border-b pb-4" x-data="{ children : null }">
<button class="relative w-full text-left cursor-pointer group"
<button class="relative w-full ltr:text-left rtl:text-right cursor-pointer group"
x-on:click="children !== 1 ? children = 1 : children = null"
>
<span class="font-medium">
@@ -12,7 +12,7 @@
{!! trans('transactions.slider.children', ['count' => $transaction->children()->count()]) !!}
</div>
<span class="material-icons absolute right-0 top-0 transition-all transform"
<span class="material-icons absolute ltr:right-0 rtl:left-0 top-0 transition-all transform"
x-bind:class="children === 1 ? 'rotate-180' : ''"
>expand_more</span>
</button>