Skip to content

Commit 703bb06

Browse files
committed
fix(frontend): improve trusted by responsiveness
1 parent f4f898c commit 703bb06

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

frontend/src/app/home/components/TrustedBy.tsx

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,25 @@ const TrustedBy: React.FC = async () => {
1313
await request<PartnersQueryType>(partnersQuery);
1414

1515
return (
16-
<div className="bg-background-2 px-6 py-12 lg:px-10">
16+
<div className="bg-background-2 py-12">
1717
<h3 className="mx-auto mb-8 w-max text-lg text-secondary-text">
1818
Trusted By
1919
</h3>
20-
<div
21-
className={clsx(
22-
"hover-pause-child-animation",
23-
"relative grid auto-cols-max grid-flow-col overflow-hidden",
24-
)}
25-
>
26-
<PartnersCarousel {...{ partners }} />
27-
<BlurredBorders />
20+
<div className="px-6 lg:px-10">
21+
<div
22+
className={clsx(
23+
"hover-pause-child-animation relative grid auto-cols-max",
24+
"grid-flow-col overflow-hidden",
25+
)}
26+
>
27+
<PartnersCarousel {...{ partners }} />
28+
<BlurredBorders />
29+
</div>
2830
</div>
2931
<div
3032
className={clsx(
31-
"mt-16 grid grid-cols-1 items-center justify-items-center gap-8",
32-
"lg:grid-cols-3",
33+
"mt-16 flex flex-col items-center justify-items-center gap-8 px-6",
34+
"md:px-32 lg:flex-row lg:justify-between xl:gap-16",
3335
)}
3436
>
3537
{institutions.map(({ name, link, image }) => (

0 commit comments

Comments
 (0)