Skip to content

Commit afc5db9

Browse files
authored
Merge pull request #14978 from JoeChenJ/Fix_centered_labels
fix: fix centered labels in code examples section on homepage
2 parents 446c419 + 73aea61 commit afc5db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/[locale]/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ const HomePage = ({
493493
<button
494494
key={title}
495495
className={cn(
496-
"flex flex-col gap-y-0.5 border-t px-6 py-4 hover:bg-background-highlight max-md:hidden",
496+
"flex flex-col gap-y-0.5 border-t px-6 py-4 text-start hover:bg-background-highlight max-md:hidden",
497497
isModalOpen &&
498498
idx === activeCode &&
499499
"bg-background-highlight"

0 commit comments

Comments
 (0)