From 474f54dc29d4194ffe8abf046816d6f83336e49f Mon Sep 17 00:00:00 2001 From: pranalidhanavade Date: Thu, 19 Oct 2023 17:23:05 +0530 Subject: [PATCH 1/3] fix:blue-blink-issue-on-endorsement-schema-card Signed-off-by: pranalidhanavade --- src/components/Ecosystem/Endorsement/EndorsementCard.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Ecosystem/Endorsement/EndorsementCard.tsx b/src/components/Ecosystem/Endorsement/EndorsementCard.tsx index e9bc23eb8..371c21a23 100644 --- a/src/components/Ecosystem/Endorsement/EndorsementCard.tsx +++ b/src/components/Ecosystem/Endorsement/EndorsementCard.tsx @@ -62,8 +62,9 @@ const EndorsementCard = ({ fromEndorsementList, data, onClickCallback, cardTrans onClickCallback(data) } }} - className={`${cardTransitionDisabled ? "" : "transform transition duration-500 hover:scale-105 hover:bg-gray-50 cursor-pointer"} ${enableAction ? "cursor-pointer" : cardTransitionDisabled ? "cursor-default" : "cursor-not-allowed"} ${cardTransitionDisabled && "shadow-none"} m-3 h-full`} - >
+ className={`${cardTransitionDisabled ? "" : "transform transition duration-500 hover:scale-105 hover:bg-gray-50 min-[w-320px]: cursor-default"} ${enableAction ? "cursor-pointer sm:cursor-default" : cardTransitionDisabled ? "cursor-default" : "cursor-not-allowed"} ${cardTransitionDisabled && "shadow-none"} m-3 h-full !cursor-default lg:!cursor-pointer`} + > +
{isSchema ? requestData?.name : requestData?.tag} From b495b576a2521970d2935b75729f9bb292ddb801 Mon Sep 17 00:00:00 2001 From: pranalidhanavade Date: Thu, 19 Oct 2023 17:40:19 +0530 Subject: [PATCH 2/3] refactor:endorsement card blue blink issue Signed-off-by: pranalidhanavade --- src/components/Ecosystem/Endorsement/EndorsementCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Ecosystem/Endorsement/EndorsementCard.tsx b/src/components/Ecosystem/Endorsement/EndorsementCard.tsx index 43acb3fdf..aed6ec201 100644 --- a/src/components/Ecosystem/Endorsement/EndorsementCard.tsx +++ b/src/components/Ecosystem/Endorsement/EndorsementCard.tsx @@ -67,7 +67,7 @@ const EndorsementCard = ({ fromEndorsementList, data, onClickCallback, cardTrans } }} id="schema-cards" -className={`${cardTransitionDisabled ? "" : "transform transition duration-500 hover:scale-105 hover:bg-gray-50 min-[w-320px]: cursor-default"} ${enableAction ? "cursor-pointer sm:cursor-default" : cardTransitionDisabled ? "cursor-default" : "cursor-not-allowed"} ${cardTransitionDisabled && "shadow-none"} m-3 h-full !cursor-default lg:!cursor-pointer`} +className={`${cardTransitionDisabled ? "" : "transform transition duration-500 hover:scale-105 hover:bg-gray-50 min-[w-320px]: cursor-default"} ${enableAction ? "lg:cursor-pointer cursor-default" : cardTransitionDisabled ? "cursor-default" : "lg:cursor-not-allowed cursor-default"} ${cardTransitionDisabled && "shadow-none"} m-3 h-full`} >
From ef8894f98265894eb145337b6e51d9ed9291bce9 Mon Sep 17 00:00:00 2001 From: pranalidhanavade Date: Thu, 19 Oct 2023 18:13:11 +0530 Subject: [PATCH 3/3] refactor:endorsement card issue Signed-off-by: pranalidhanavade --- src/components/Ecosystem/Endorsement/EndorsementCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Ecosystem/Endorsement/EndorsementCard.tsx b/src/components/Ecosystem/Endorsement/EndorsementCard.tsx index aed6ec201..2c4e5678f 100644 --- a/src/components/Ecosystem/Endorsement/EndorsementCard.tsx +++ b/src/components/Ecosystem/Endorsement/EndorsementCard.tsx @@ -67,7 +67,7 @@ const EndorsementCard = ({ fromEndorsementList, data, onClickCallback, cardTrans } }} id="schema-cards" -className={`${cardTransitionDisabled ? "" : "transform transition duration-500 hover:scale-105 hover:bg-gray-50 min-[w-320px]: cursor-default"} ${enableAction ? "lg:cursor-pointer cursor-default" : cardTransitionDisabled ? "cursor-default" : "lg:cursor-not-allowed cursor-default"} ${cardTransitionDisabled && "shadow-none"} m-3 h-full`} +className={`${cardTransitionDisabled ? "" : "transform transition duration-500 hover:scale-105 hover:bg-gray-50 min-[w-320px]: cursor-default"} ${enableAction && "lg:cursor-pointer cursor-default" }${ cardTransitionDisabled ? "cursor-default" : "lg:cursor-not-allowed cursor-default"} ${cardTransitionDisabled && "shadow-none"} m-3 h-full`} >