Fixed RTL Issue

This commit is contained in:
devansh bawari 2020-10-16 11:50:05 +05:30
parent 886dbfc367
commit 0cea670a06
6 changed files with 16 additions and 11 deletions

View File

@ -66,6 +66,6 @@ return array(
|
*/
'lifetime' => 43200,
'lifetime' => 525600,
);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/js/shop.js": "/js/shop.js?id=73723ffa31b9e1876375",
"/css/shop.css": "/css/shop.css?id=c7d1af736c298987d4bd"
"/js/shop.js": "/js/shop.js?id=c4dfdb6d0482241432f9",
"/css/shop.css": "/css/shop.css?id=11adc18bed8ace91c828"
}

View File

@ -204,10 +204,16 @@ input {
}
}
/* if not very important use bootstrap 4 float-left and float-right class */
.pull-right {
float:right;
float: right !important;
}
.pull-left {
float: left !important;
}
/* if not very important use bootstrap 4 float-left and float-right class */
//wishlist icon hover properties
.add-to-wishlist {
.wishlist-icon {
@ -4658,7 +4664,6 @@ td {
.icon.remove-product {
top: 5px;
float: right;
cursor: pointer;
position: relative;
background-color: black;

View File

@ -3,7 +3,7 @@
$comparableAttributes = $attributeRepository->getComparableAttributesBelongsToFamily();
$locale = request()->get('locale') ?: app()->getLocale();
$attributeOptionTranslations = DB::table('attribute_option_translations')->where('locale', $locale)->get()->toJson();
@endphp
@ -16,7 +16,7 @@
<button
v-if="products.length > 0"
class="btn btn-primary btn-md pull-right"
class="btn btn-primary btn-md {{ core()->getCurrentLocale()->direction == 'rtl' ? 'pull-left' : 'pull-right' }}"
@click="removeProductCompare('all')">
{{ __('shop::app.customer.account.wishlist.deleteall') }}
</button>
@ -122,7 +122,7 @@
@break
@endswitch
@endswitch
</td>
</tr>
@endforeach
@ -326,7 +326,7 @@
'type': `alert-error`,
'message': "{{ __('shop::app.common.error') }}"
}];
this.$root.addFlashMessages();
});
} else {