Skip to content

Commit 69ce9e3

Browse files
Merge pull request #678 from madhavansingh/fix/project-card-flip-clipping
fix: resolve project cards flip clipping in Projects section
2 parents d0a9823 + 6fe571a commit 69ce9e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/home/CardEffect.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function CardEffect({ heading, content, logo }) {
1515
whileInView={{ opacity: 1, rotateY: 0 }}
1616
viewport={{ once: true }}
1717
transition={{ duration: 0.8 }}
18-
className="group relative block h-[22rem] w-full cursor-pointer overflow-hidden [perspective:1000px]"
18+
className="group relative block h-[22rem] w-full cursor-pointer [perspective:1000px]"
1919
>
2020
<div className="relative h-full w-full transition-all duration-500 [transform-style:preserve-3d] group-hover:[transform:rotateY(180deg)]">
2121

0 commit comments

Comments
 (0)