From 23fab9542461228cab9fc277eb603626a972ce28 Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 24 May 2021 15:57:03 +0500 Subject: [PATCH] 123 --- .../components/advertisement/carousel.htm | 18 ++--------- themes/modern2/pages/index.htm | 2 +- .../modern2/partials/index/partner_news.htm | 32 ++++++++----------- themes/modern2/partials/sidebar__cards.htm | 30 +++++++++++++++++ 4 files changed, 47 insertions(+), 35 deletions(-) create mode 100644 themes/modern2/partials/sidebar__cards.htm diff --git a/plugins/tps/reklama/components/advertisement/carousel.htm b/plugins/tps/reklama/components/advertisement/carousel.htm index b83eb42a3..fa171d5e9 100644 --- a/plugins/tps/reklama/components/advertisement/carousel.htm +++ b/plugins/tps/reklama/components/advertisement/carousel.htm @@ -58,14 +58,7 @@ breakpoint: 768, settings: { slidesToShow: 2, - slidesToScroll: 1, - }, - }, - { - breakpoint: 540, - settings: { - slidesToShow: 1, - slidesToScroll: 1, + slidesToScroll: 2, }, }, ], @@ -108,14 +101,7 @@ breakpoint: 768, settings: { slidesToShow: 2, - slidesToScroll: 1, - }, - }, - { - breakpoint: 540, - settings: { - slidesToShow: 1, - slidesToScroll: 1, + slidesToScroll: 2, }, }, ], diff --git a/themes/modern2/pages/index.htm b/themes/modern2/pages/index.htm index a91aceb40..411d7bfe3 100644 --- a/themes/modern2/pages/index.htm +++ b/themes/modern2/pages/index.htm @@ -106,7 +106,7 @@ random = 0