Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: style fixes

Dillion Vermaa2b68ace9c2e
diff --git a/registry/components/example/animated-feature-card-2.tsx b/registry/components/example/animated-feature-card-2.tsx
index c4fc8cdc..8c4058af 100644
--- a/registry/components/example/animated-feature-card-2.tsx
+++ b/registry/components/example/animated-feature-card-2.tsx
@@ -45,7 +45,7 @@ export default function FeatureCard2() {
},
}),
whileHover: (index: number) => ({
- y: -100,
+ y: -110,
opacity: 1,
scale: index === 0 ? 0.85 : index === 3 ? 1 : 1,
transition: {
@@ -74,7 +74,7 @@ export default function FeatureCard2() {
className="flex h-full w-full cursor-pointer flex-col justify-between gap-y-5"
>
<div className="flex h-full w-full items-center justify-center rounded-t-xl border-b border-neutral-200 dark:border-neutral-800">
- <motion.div className="flex h-[310px] w-full cursor-pointer flex-col gap-y-3.5 overflow-hidden rounded-t-md p-5">
+ <motion.div className="flex h-[310px] w-full cursor-pointer flex-col gap-y-5 overflow-hidden rounded-t-md p-5">
{texts.map((text, index) => (
<motion.div
key={text.id}
diff --git a/registry/components/example/animated-feature-card-3.tsx b/registry/components/example/animated-feature-card-3.tsx
index 93a24362..2bee6f84 100644
--- a/registry/components/example/animated-feature-card-3.tsx
+++ b/registry/components/example/animated-feature-card-3.tsx
@@ -67,7 +67,7 @@ export default function FeatureCard3() {
whileHover="whileHover"
className="flex h-full w-full cursor-pointer flex-col justify-between gap-y-5"
>
- <motion.div className="flex h-full w-full cursor-pointer flex-col items-center justify-center gap-y-2 overflow-hidden rounded-t-xl border-b border-neutral-200 p-8 dark:border-neutral-800">
+ <motion.div className="flex h-[310px] w-full cursor-pointer flex-col items-center justify-center gap-y-2 overflow-hidden rounded-t-xl border-b border-neutral-200 p-8 dark:border-neutral-800">
<motion.p
variants={variant1}
className="w-fit rounded-full border px-2 text-[15px]"
diff --git a/registry/components/example/animated-feature-card-4.tsx b/registry/components/example/animated-feature-card-4.tsx
index 0aecaeba..cc625ea6 100644
--- a/registry/components/example/animated-feature-card-4.tsx
+++ b/registry/components/example/animated-feature-card-4.tsx
@@ -97,7 +97,7 @@ export default function FeatureCard4() {
className="flex h-full w-full cursor-pointer flex-col items-start justify-between gap-y-5"
>
<div className="flex h-full w-full items-center justify-center rounded-t-xl border-b border-neutral-200 bg-transparent p-10 dark:border-neutral-800 ">
- <motion.div className="flex w-full items-center justify-between gap-x-4 ">
+ <motion.div className="flex h-[310px] w-full items-center justify-between gap-x-4">
<motion.div
variants={variant1}
className="z-[3] flex h-fit w-full flex-col items-center justify-between gap-x-2 gap-y-2 rounded-md border border-neutral-400/20 bg-white p-5 px-2.5 transition-all duration-100 ease-linear dark:border-neutral-800 dark:bg-neutral-900"