Skip to content

Commit 30255a5

Browse files
committed
refactor: move class to button
1 parent 6821fe4 commit 30255a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ProductCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const ProductCard = ({
8282
return (
8383
<Flex
8484
className={cn(
85-
"flex-col justify-between bg-background-highlight text-center",
85+
"flex-col justify-between bg-background-highlight",
8686
"rounded-base border no-underline",
8787
"hover:scale-[1.02] hover:transition-transform"
8888
)}
@@ -127,7 +127,7 @@ const ProductCard = ({
127127
</SubjectBadge>
128128
))}
129129
</HStack>
130-
<ButtonLink href={url} className="m-4 h-20">
130+
<ButtonLink href={url} className="m-4 h-20 text-center">
131131
{t("open")} {name}
132132
</ButtonLink>
133133
</Flex>

0 commit comments

Comments
 (0)