RTL style fixed

This commit is contained in:
mervekaraman
2023-01-17 15:16:23 +03:00
parent fc8b9b5090
commit 51d6f9c7a6
4 changed files with 33 additions and 19 deletions

View File

@ -12,8 +12,8 @@
<div
@class([
'float-right' => $item->align == 'right',
'float-left' => $item->align == 'left',
'ltr:float-right rtl:float-left' => $item->align == 'right',
'ltr:float-left rtl:float-right' => $item->align == 'left',
])
style="width: 200px;"
@ -32,7 +32,7 @@
</div>
<div class="absolute ltr:right-0 rtl:left-0">
<img src="{{ $item->thumb }}" alt="{{ $item->title }}" />
<img src="{{ $item->thumb }}" alt="{{ $item->title }}" class="rtl:-scale-x-100 ltr:scale-x-100" />
</div>
</div>
@endforeach