Skip to content

Commit f3f498f

Browse files
committed
Add max width
1 parent 36ccc89 commit f3f498f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/app/(main)/resources/[category]/cards-section.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,15 @@ export function CardsSection({
3030
<div className="flex flex-col gap-3">
3131
<Eyebrow>{sectionKindNames[section.kind]}</Eyebrow>
3232
<h2 className="typography-h3 text-pretty">{heading}</h2>
33-
{text && <p className="typography-body-md text-neu-800">{text}</p>}
33+
{text && (
34+
<p className="typography-body-md max-w-[700px] text-neu-800">
35+
{text}
36+
</p>
37+
)}
3438
</div>
3539
{section.kind === "video" ? (
3640
<Button href="/resources/video" variant="primary" size="md">
37-
Go to full Video Resources Library
41+
Go to Video Resources Library
3842
</Button>
3943
) : (
4044
<span className="typography-menu text-neu-600">

0 commit comments

Comments
 (0)