From f0f9d3ee31a9e795f1db57aa7c266020212c37e4 Mon Sep 17 00:00:00 2001 From: *Aman <*dhanushag111@gmail.com*> Date: Sat, 13 Dec 2025 17:15:45 +0530 Subject: [PATCH] Fix protocol card image cropping on hover --- components/card.tsx | 61 ++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 31 deletions(-) diff --git a/components/card.tsx b/components/card.tsx index bdb3299..fab94f1 100644 --- a/components/card.tsx +++ b/components/card.tsx @@ -12,37 +12,36 @@ interface Props { const Card: React.FC = ({ index, image, title, description, link }) => { return ( -
-
- Protocol Logo -
-
-

- {title} -

-

- {description.split("\n").map((item, key) => { - return ( - - {item} -
-
- ) - })} -

-
-
- +
+
+ Protocol Logo +
+
+

+ {title} +

+

+ {description.split("\n").map((item, key) => ( + + {item} +
+
+ ))} +

+
+
+ + ) }