Skip to content

Commit

Permalink
Fix font size at the category text in very small display size
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMejia77 committed Mar 7, 2024
1 parent 92ad294 commit 521f833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Categories/CategoryCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const CategoryCard: FC<CategoryCardProps> = ({ image, name }) => {
<Link href={"https://actualizatucarro.mercadoshops.com.co/"}>
<div className="flex flex-col items-center justify-center gap-x-4 relative group">
<Image src={image} width={150} height={150} alt={name} />
<span className="font-bold text-sm md:text-lg">{name}</span>
<span className="font-bold text-xs ms:text-sm md:text-lg">{name}</span>
<div className="absolute h-1 bg-primary-lm bottom-[-5px] transform scale-x-0 group-hover:scale-x-100 transition-transform duration-200 ease-in-out w-full rounded"></div>
</div>
</Link>
Expand Down

0 comments on commit 521f833

Please sign in to comment.