Skip to content

Commit c9a3594

Browse files
Merge pull request #666 from reach2saksham/fix/project-cards-heights
fix: equalize card heights on the projects page
2 parents 15070a0 + acd87ce commit c9a3594

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/products/CardProduct.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ export function CardProduct({ product }) {
1111
return (
1212
<Link
1313
href={`/projects/${product.slug}`}
14+
className="block h-full"
1415
>
1516
<motion.div
1617
initial={{ opacity: 0, y: 30 }}
1718
whileInView={{ opacity: 1, y: 0 }}
1819
viewport={{ once: true }}
1920
transition={{ duration: 0.5 }}
2021
whileHover={{ y: -5 }}
21-
className="group relative flex flex-col items-center p-6 bg-white dark:bg-zinc-800/50 rounded-2xl shadow-lg hover:shadow-xl transition-all duration-300 border border-zinc-200 dark:border-zinc-700 hover:border-[#00843D] dark:hover:border-yellow-400"
22+
className="group relative flex flex-col items-center p-6 bg-white dark:bg-zinc-800/50 rounded-2xl shadow-lg hover:shadow-xl transition-all duration-300 border border-zinc-200 dark:border-zinc-700 hover:border-[#00843D] dark:hover:border-yellow-400 h-full"
2223
>
2324
<div className="relative w-24 h-24 mb-4">
2425
<Image

0 commit comments

Comments
 (0)