Skip to content

Commit

Permalink
Merge pull request #3211 from mervekaraman/master
Browse files Browse the repository at this point in the history
RTL issues fixed
  • Loading branch information
cuneytsenturk authored Sep 10, 2024
2 parents 4f523fe + cdc6724 commit e709e0d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions resources/assets/js/components/AkauntingCompanyEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,30 @@
<table>
<tbody>
<tr>
<th class="text-left p-0">
<span class="font-medium text-left text-sm p-0">{{ company.name }}</span>
<th class="ltr:text-left rtl:text-right p-0">
<span class="font-medium ltr:text-left rtl:text-right text-sm p-0">{{ company.name }}</span>
</th>
</tr>
<tr v-if="company.address">
<th class="font-normal text-sm text-left p-0">
<th class="font-normal text-sm ltr:text-left rtl:text-right p-0">
{{ company.address }}
</th>
</tr>
<tr v-if="company.location">
<th class="font-normal text-sm text-left p-0" v-html="company.location"></th>
<th class="font-normal text-sm ltr:text-left rtl:text-right p-0" v-html="company.location"></th>
</tr>
<tr v-if="company.tax_number">
<th class="font-normal text-sm text-left p-0">
<th class="font-normal text-sm ltr:text-left rtl:text-right p-0">
{{ taxNumberText }}: {{ company.tax_number }}
</th>
</tr>
<tr v-if="company.phone">
<th class="font-normal text-sm text-left p-0">
<th class="font-normal text-sm ltr:text-left rtl:text-right p-0">
{{ company.phone }}
</th>
</tr>
<tr>
<th class="font-normal text-sm text-left p-0">
<th class="font-normal text-sm ltr:text-left rtl:text-right p-0">
{{ company.email }}
</th>
</tr>
Expand Down
14 changes: 7 additions & 7 deletions resources/assets/js/components/AkauntingContactCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,27 +61,27 @@
<table class="table table-borderless p-0">
<tbody>
<tr>
<th class="font-medium text-left text-sm p-0">
<th class="font-medium ltr:text-left rtl:text-right text-sm p-0">
<span class="block">{{ contact.name }}</span>
</th>
</tr>
<tr v-if="contact.address">
<th class="font-normal text-xs text-left p-0">
<th class="font-normal text-xs ltr:text-left rtl:text-right p-0">
<div class="w-60 truncate">
{{ contact.address }}
</div>
</th>
</tr>
<tr v-if="contact.location">
<th class="font-normal text-sm text-left p-0" v-html="contact.location"></th>
<th class="font-normal text-sm ltr:text-left rtl:text-right p-0" v-html="contact.location"></th>
</tr>
<tr v-if="contact.tax_number">
<th class="font-normal text-xs text-left p-0">
<th class="font-normal text-xs ltr:text-left rtl:text-right p-0">
{{ taxNumberText }}: {{ contact.tax_number }}
</th>
</tr>
<tr v-if="contact.phone">
<th class="font-normal text-xs text-left p-0">
<th class="font-normal text-xs ltr:text-left rtl:text-right p-0">
{{ contact.phone }} &nbsp;
<span v-if="contact.email">
- {{ contact.email }}
Expand All @@ -93,12 +93,12 @@
</div>
</div>
<div :class="show.contact_selected ? 'flex' : 'hidden'" class="absolute flex-col mt-2">
<button type="button" class="p-0 text-xs text-purple ltr:text-left rtl:text-right" @click="onContactEdit">
<button type="button" class="p-0 text-xs text-purple ltr:ltr:text-left rtl:text-right rtl:text-right" @click="onContactEdit">
<span class="bg-no-repeat bg-0-2 bg-0-full hover:bg-full-2 bg-gradient-to-b from-transparent to-purple transition-backgroundSize">
{{ editContactText.replace(':contact_name', contact.name).replace(':field', contact.name) }}
</span>
</button>
<button type="button" class="p-0 text-xs text-purple ltr:text-left rtl:text-right" @click="onContactList">
<button type="button" class="p-0 text-xs text-purple ltr:ltr:text-left rtl:text-right rtl:text-right" @click="onContactList">
<span class="bg-no-repeat bg-0-2 bg-0-full hover:bg-full-2 bg-gradient-to-b from-transparent to-purple transition-backgroundSize">
{{ chooseDifferentContactText }}
</span>
Expand Down
8 changes: 4 additions & 4 deletions resources/views/auth/users/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@
</x-table.td>

<x-table.td class="w-8/12 sm:w-5/12">
<div class="flex items-center space-x-2">
<div class="flex items-center space-x-2 rtl:space-x-reverse">
@if (setting('default.use_gravatar', '0') == '1')
<img src="{{ $item->picture }}" class="w-6 h-6 rounded-full mr-2 hidden lg:block text-transparent" title="{{ $item->name }}" alt="{{ $item->name }}">
<img src="{{ $item->picture }}" class="w-6 h-6 rounded-full ltr:mr-2 rtl:ml-2 hidden lg:block text-transparent" title="{{ $item->name }}" alt="{{ $item->name }}">
@elseif (is_object($item->picture))
<img src="{{ Storage::url($item->picture->id) }}" class="w-6 h-6 rounded-full mr-2 hidden lg:block text-transparent" alt="{{ $item->name }}" title="{{ $item->name }}">
<img src="{{ Storage::url($item->picture->id) }}" class="w-6 h-6 rounded-full ltr:mr-2 rtl:ml-2 hidden lg:block text-transparent" alt="{{ $item->name }}" title="{{ $item->name }}">
@else
<img src="{{ asset('public/img/user.svg') }}" class="w-6 h-6 rounded-full mr-2 hidden lg:block text-transparent" alt="{{ $item->name }}"/>
<img src="{{ asset('public/img/user.svg') }}" class="w-6 h-6 rounded-full ltr:mr-2 rtl:ml-2 hidden lg:block text-transparent" alt="{{ $item->name }}"/>
@endif

{{ !empty($item->name) ? $item->name : trans('general.na') }}
Expand Down

0 comments on commit e709e0d

Please sign in to comment.