Merge pull request #3211 from mervekaraman/master

RTL issues fixed
This commit is contained in:
Cüneyt Şentürk 2024-09-10 12:31:56 +01:00 committed by GitHub
commit e709e0d30d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 18 deletions

View File

@ -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>

View File

@ -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 }}
@ -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>

View File

@ -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') }}