From 9154b1fb96f6a181ec308f42de9da4331647dee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CSalar?= <“salar.sali97@gmail.com”> Date: Mon, 17 Oct 2022 12:41:10 +0300 Subject: [PATCH] resolve padding of featured authors --- src/components/MainPage/sections/FeaturedAuthorsCards.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/MainPage/sections/FeaturedAuthorsCards.tsx b/src/components/MainPage/sections/FeaturedAuthorsCards.tsx index 965a243..87fff9c 100755 --- a/src/components/MainPage/sections/FeaturedAuthorsCards.tsx +++ b/src/components/MainPage/sections/FeaturedAuthorsCards.tsx @@ -75,10 +75,12 @@ export default function FeaturedAuthorsCards(): JSX.Element { return ( <div> {/* The Title of Featured Authors section */} - <Heading className="text-center my-8 text-3xl font-semibold">{t("mainPage.featuredAuthors")}</Heading> + <Heading className="text-center my-8 text-3xl font-semibold"> + {t("mainPage.featuredAuthors")} + </Heading> {/* Featured Authors section */} - <div className="slider-wrapper Authors"> + <div className="slider-wrapper Authors px-8"> <Swiper slidesPerView={1.25} slidesPerGroup={1} @@ -133,7 +135,7 @@ export default function FeaturedAuthorsCards(): JSX.Element { <Card.CardAction href={card.Link}> <Link className="text-blue-500 font-bold" to="*"> - {t('mainPage.more')} + {t("mainPage.more")} </Link> <SVGCaretRight className="fill-blue-500 w-4 h-4" /> </Card.CardAction>