Skip to content

Commit 371df82

Browse files
authored
Merge pull request #15217 from ethereum/align-text-codeexamples
Align codeexample texts
2 parents 109e6de + 4b90e92 commit 371df82

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/[locale]/_components/home.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ const HomePage = ({
398398
<button
399399
key={title}
400400
className={cn(
401-
"flex flex-col gap-y-0.5 border-t px-6 py-4 hover:bg-background-highlight max-md:hidden",
401+
"flex flex-col gap-y-0.5 border-t px-6 py-4 text-start hover:bg-background-highlight max-md:hidden",
402402
isModalOpen &&
403403
idx === activeCode &&
404404
"bg-background-highlight"
@@ -413,9 +413,7 @@ const HomePage = ({
413413
}}
414414
>
415415
<p className="font-bold">{title}</p>
416-
<p className="text-start text-sm text-body-medium">
417-
{description}
418-
</p>
416+
<p className="text-sm text-body-medium">{description}</p>
419417
</button>
420418
))}
421419
{/* Mobile */}

0 commit comments

Comments
 (0)