From 18d93e5795abc5c0d842bce08ff0b8dff4130c24 Mon Sep 17 00:00:00 2001 From: Roshan Kumar Date: Mon, 15 Sep 2025 18:34:20 +0530 Subject: [PATCH 1/3] Fix: allow protocol card images to overflow on hover instead of being clipped --- components/card.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/card.tsx b/components/card.tsx index d4fdfbf..f8d31eb 100644 --- a/components/card.tsx +++ b/components/card.tsx @@ -15,14 +15,14 @@ const Card: React.FC = ({ index, image, title, description, link }) => { key={index} className="group relative flex h-auto flex-col justify-evenly rounded-lg border border-zinc-200 p-6 shadow-xl" > -
+
Protocol Logo
From 670718141240b848d3da746c332e9c8591e9e70e Mon Sep 17 00:00:00 2001 From: Roshan Singh <110438835+Roshan-Singh-07@users.noreply.github.com> Date: Mon, 13 Oct 2025 09:18:23 +0530 Subject: [PATCH 2/3] Update card.tsx --- components/card.tsx | 50 ++++++++++++++++++++------------------------- 1 file changed, 22 insertions(+), 28 deletions(-) diff --git a/components/card.tsx b/components/card.tsx index db47ae3..90b2c42 100644 --- a/components/card.tsx +++ b/components/card.tsx @@ -11,49 +11,43 @@ interface Props { const Card: React.FC = ({ index, image, title, description, link }) => { return ( -
-
- Protocol Logo
-
+ {/* Image container — removed overflow-hidden so zoom can overflow */} +
Protocol Logo
+
-

+

{title}

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

+ +
+ + + Learn more + + +
) From be3cfb493e28f307d84d980284ce09d0b36291d2 Mon Sep 17 00:00:00 2001 From: Roshan Singh <110438835+Roshan-Singh-07@users.noreply.github.com> Date: Mon, 13 Oct 2025 09:29:37 +0530 Subject: [PATCH 3/3] fix(card): ensure zoomed images render above adjacent cards - Added `hover:z-10 focus-visible:z-10` to card wrapper for proper stacking - Maintains smooth hover zoom overflow and accessibility - Fixes image clipping and layering in protocol card grid --- components/card.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/card.tsx b/components/card.tsx index 90b2c42..d157be3 100644 --- a/components/card.tsx +++ b/components/card.tsx @@ -9,11 +9,11 @@ interface Props { link: string } -const Card: React.FC = ({ index, image, title, description, link }) => { +const Card: React.FC = ({ image, title, description, link }) => { return ( - +
{/* Image container — removed overflow-hidden so zoom can overflow */}