improved ui

A1Gard 5 days ago
parent 237f069b91
commit 0ff59e87fc

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

@ -21,6 +21,9 @@ document.addEventListener('DOMContentLoaded', () => {
slideBy: 1, slideBy: 1,
autoplayTimeout: 5000, autoplayTimeout: 5000,
responsive: { responsive: {
100:{
items:1,
},
560: { 560: {
items: 1, items: 1,
}, },

@ -1,4 +1,4 @@
<section class='PostModernPosts'> <section class='PostModernPosts live-setting' data-live="{{$data->area_name.'_'.$data->part}}">
<div class="{{gfx()['container']}}"> <div class="{{gfx()['container']}}">
<h1> <h1>
{{getSetting($data->area_name.'_'.$data->part.'_title')}} {{getSetting($data->area_name.'_'.$data->part.'_title')}}

@ -12,7 +12,7 @@ document.addEventListener('DOMContentLoaded', () => {
container: el, container: el,
items: 1, items: 1,
// slideBy: 'page', // slideBy: 'page',
autoplay: false, autoplay: true,
autoplayButton: false, autoplayButton: false,
// nextButton: false, // nextButton: false,
controls: false, controls: false,

Loading…
Cancel
Save