Update src/components/bento/BentoRevealIcon.tsx
This commit is contained in:
@@ -33,7 +33,7 @@ const BentoRevealIcon = ({
|
||||
>
|
||||
<div className="relative h-26 w-[6.5rem]">
|
||||
<div
|
||||
className="absolute right-full top-1/2 -mt-48 transition-transform duration-500 ease-out group-hover:-translate-x-12"
|
||||
className="absolute right-full top-1/2 -mt-24 transition-transform duration-500 ease-out group-hover:-translate-x-12"
|
||||
style={{ transform: "translateX(calc(52px + 1px - 2px))" }}
|
||||
>
|
||||
<div className="relative h-96 aspect-[224/280] -scale-x-100">
|
||||
@@ -45,7 +45,7 @@ const BentoRevealIcon = ({
|
||||
</div>
|
||||
|
||||
<div
|
||||
className="absolute left-full top-1/2 -mt-48 transition-transform duration-500 ease-out group-hover:translate-x-12"
|
||||
className="absolute left-full top-1/2 -mt-24 transition-transform duration-500 ease-out group-hover:translate-x-12"
|
||||
style={{ transform: "translateX(calc(-52px - 1px + 2px))" }}
|
||||
>
|
||||
<div className="relative h-96 aspect-[224/280]">
|
||||
|
||||
Reference in New Issue
Block a user