Skip to content

Commit bd769c5

Browse files
committed
fix(frontend): remove unnecessary style
1 parent 6be2a47 commit bd769c5

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

frontend/src/components/Earn/TabSection/CuratorTabContent/KlerosScoutSection.tsx

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,22 @@ const KlerosScoutSection: React.FC<IKlerosScoutSection> = ({
3838
</div>
3939
<div
4040
className={clsx(
41-
"relative h-[308px] rounded-2xl md:h-[380px]",
42-
"bg-cover bg-[-314px] md:bg-[0px]",
43-
"flex items-center justify-center pt-3 md:pt-0",
41+
"relative flex h-[308px] items-center justify-center rounded-2xl",
42+
"md:h-[380px]",
4443
)}
4544
>
45+
<CustomLink
46+
href={learnMoreButton.link.url}
47+
className="relative z-10 mt-14 block h-fit w-fit rounded-full md:mt-0"
48+
>
49+
<Button className="text-background-1">{learnMoreButton.text}</Button>
50+
</CustomLink>
4651
<Image
4752
src={background.url}
4853
alt="Background Image"
4954
fill
5055
className="rounded-2xl object-cover object-[65%]"
5156
/>
52-
<CustomLink
53-
href={learnMoreButton.link.url}
54-
className="z-[1] mt-16 md:mt-0"
55-
>
56-
<Button className="text-background-1">{learnMoreButton.text}</Button>
57-
</CustomLink>
5857
</div>
5958
<div className="flex flex-col items-center gap-6 md:flex-row lg:gap-8">
6059
{arrowLinks.map((arrowLink) => (

0 commit comments

Comments
 (0)