fixed ui bugs

master
A1Gard 1 week ago
parent 981ffabf07
commit 63c021658e

@ -23,6 +23,10 @@ class ThemeController extends Controller
}
}
$response .= '}';
if (langIsRTL(app()->getLocale())) {
$response .= ' .slider-content, .tns-outer .item{ direction: rtl; }';
}
return response($response)->header('Content-Type', 'text/css; charset=utf-8');
}
}

@ -1,4 +1,5 @@
.tns-outer {
direction: ltr;
.tns-nav, button {
display: none;
}

@ -11,7 +11,7 @@
<div class="section-main">
@foreach(getCategoryProductBySetting($part->area->name . '_' . $part->part.'_category') as $product)
<div class="item">
<div class="item slider-content">
<div class="tree-product-box">
<a href="{{$product->webUrl()}}">
<img src="{{$product->imgUrl()}}" alt="{{$product->name}}">
@ -46,7 +46,7 @@
<div class="section-second">
@foreach(getCategoryProductBySetting($part->area->name . '_' . $part->part.'_categoryx') as $product)
<div class="item text-center">
<div class="item text-center slider-content">
<a href="{{$product->webUrl()}}">
<img src="{{$product->imgUrl()}}" class="img-fluid" alt="{{$product->name}}">
</a>
@ -61,7 +61,7 @@
<div class="section-third">
@foreach(getCategoryProductBySetting($part->area->name . '_' . $part->part.'_categoryy') as $product)
<div class="item text-center">
<div class="item text-center slider-content">
<a href="{{$product->webUrl()}}">
<img src="{{$product->imgUrl()}}" class="img-fluid" alt="{{$product->name}}">
</a>

Loading…
Cancel
Save