RTL control for Document Form

This commit is contained in:
Burak Civan
2022-08-15 14:59:26 +03:00
parent 29155a7f46
commit b81026d36f
7 changed files with 35 additions and 35 deletions

View File

@ -5,7 +5,7 @@
<div class="relative cursor-pointer" x-on:click="{{ $type }} !== 'open' ? {{ $type }} = 'open' : {{ $type }} = 'close'">
{!! $head !!}
<x-icon filled class="absolute right-0 top-0 transition-all transform" :icon="$icon" x-bind:class="{{ $type }} === 'open' ? 'rotate-180' : ''" />
<x-icon filled class="absolute ltr:right-0 rtl:left-0 top-0 transition-all transform" :icon="$icon" x-bind:class="{{ $type }} === 'open' ? 'rotate-180' : ''" />
</div>
@endif