Skip to content

Commit 4b90e92

Browse files
committed
align codeexample texts
1 parent 9d8e265 commit 4b90e92

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
@@ -382,7 +382,7 @@ const HomePage = ({
382382
<button
383383
key={title}
384384
className={cn(
385-
"flex flex-col gap-y-0.5 border-t px-6 py-4 hover:bg-background-highlight max-md:hidden",
385+
"flex flex-col gap-y-0.5 border-t px-6 py-4 text-start hover:bg-background-highlight max-md:hidden",
386386
isModalOpen &&
387387
idx === activeCode &&
388388
"bg-background-highlight"
@@ -397,9 +397,7 @@ const HomePage = ({
397397
}}
398398
>
399399
<p className="font-bold">{title}</p>
400-
<p className="text-start text-sm text-body-medium">
401-
{description}
402-
</p>
400+
<p className="text-sm text-body-medium">{description}</p>
403401
</button>
404402
))}
405403
{/* Mobile */}

0 commit comments

Comments
 (0)