From 94b93ca51ac0b04ef5e422f09d11becf1a0c9a17 Mon Sep 17 00:00:00 2001 From: Scenery <1507337624@qq.com> Date: Wed, 3 Jan 2024 22:21:44 +0800 Subject: [PATCH] feat: update mobile solution style --- .../home/Index/components/SolutionsMobile/index.module.css | 2 +- src/components/home/Index/components/SolutionsMobile/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/home/Index/components/SolutionsMobile/index.module.css b/src/components/home/Index/components/SolutionsMobile/index.module.css index 9610dfadf1..3e37310ec2 100644 --- a/src/components/home/Index/components/SolutionsMobile/index.module.css +++ b/src/components/home/Index/components/SolutionsMobile/index.module.css @@ -7,5 +7,5 @@ } :global .swiper-slide { - width: auto !important; + width: 320px !important; } diff --git a/src/components/home/Index/components/SolutionsMobile/index.tsx b/src/components/home/Index/components/SolutionsMobile/index.tsx index 6a4600f528..21968f9657 100644 --- a/src/components/home/Index/components/SolutionsMobile/index.tsx +++ b/src/components/home/Index/components/SolutionsMobile/index.tsx @@ -12,7 +12,7 @@ const SolutionsMobile: FC = () => { centeredSlides slidesPerView="auto" spaceBetween={0} - className="w-auto" + className="w-full" autoplay={{ delay: 3000, }}