Skip to content

Commit

Permalink
RTL style problems fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mervekaraman committed Feb 7, 2023
1 parent 033d4f3 commit d87e0be
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions resources/views/components/empty-page.blade.php
Expand Up @@ -58,7 +58,7 @@
</div>
</div>

<span class="material-icons text-gray-500">chevron_right</span>
<span class="material-icons text-gray-500 rtl:rotate-180">chevron_right</span>
</x-link>
</li>
@endforeach
Expand All @@ -67,7 +67,7 @@
</div>

<div class="w-full lg:w-1/2 flex justify-end mt-8 lg:mt-60">
<img src="{{ $image }}" alt="{{ $title }}" />
<img src="{{ $image }}" alt="{{ $title }}" class="ltr:scale-x-100 rtl:-scale-x-100" />
</div>
</div>

Expand All @@ -78,3 +78,4 @@
}
</style>
@endpush

3 changes: 2 additions & 1 deletion resources/views/components/layouts/admin/menu.blade.php
Expand Up @@ -117,7 +117,7 @@ class="flex flex-col items-center justify-center mb-5 cursor-pointer menu-button
</div>

<div class="flex ltr:ml-2 rtl:mr-2">
<span class="w-28 text-left block text-base truncate">
<span class="w-28 ltr:text-left rtl:text-right block text-base truncate">
<x-button.hover>
{{ Str::limit(setting('company.name'), 22) }}
</x-button.hover>
Expand Down Expand Up @@ -235,3 +235,4 @@ class="flex flex-col items-center justify-center mb-5 cursor-pointer menu-button
<x-loading.menu />

@stack('menu_end')

3 changes: 2 additions & 1 deletion resources/views/components/layouts/portal/menu.blade.php
Expand Up @@ -88,7 +88,7 @@ class="flex flex-col items-center justify-center mb-5 cursor-pointer menu-button
</div>

<div class="flex ltr:ml-2 rtl:mr-2">
<span class="w-28 text-left block text-base truncate">
<span class="w-28 ltr:text-left rtl:text-right block text-base truncate">
<x-button.hover>
{{ Str::limit(setting('company.name'), 22) }}
</x-button.hover>
Expand Down Expand Up @@ -182,3 +182,4 @@ class="flex flex-col items-center justify-center mb-5 cursor-pointer menu-button
<x-loading.menu />

@stack('menu_end')

0 comments on commit d87e0be

Please sign in to comment.