From e7aa89bb7fdfc34f70138703d4f2ea46f1818075 Mon Sep 17 00:00:00 2001 From: Akshun-01 Date: Sun, 15 Oct 2023 22:09:20 +0530 Subject: [PATCH] remove hover from card with coming soon Signed-off-by: Akshun-01 --- .../Learn-Components/Card-Component/index.js | 2 +- .../Card-Component/learn-card.style.js | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/Learn-Components/Card-Component/index.js b/src/components/Learn-Components/Card-Component/index.js index 9db7eb5322b0..d9ebfff4c657 100644 --- a/src/components/Learn-Components/Card-Component/index.js +++ b/src/components/Learn-Components/Card-Component/index.js @@ -40,7 +40,7 @@ const CardComponent = ({ tutorial, path, courseCount }) => {
diff --git a/src/components/Learn-Components/Card-Component/learn-card.style.js b/src/components/Learn-Components/Card-Component/learn-card.style.js index d44700d657f7..8740383a12ad 100644 --- a/src/components/Learn-Components/Card-Component/learn-card.style.js +++ b/src/components/Learn-Components/Card-Component/learn-card.style.js @@ -5,12 +5,14 @@ const CardWrapper = styled.div` min-height: 16rem; margin: auto; border-radius: 1rem; - cursor: pointer; - box-shadow: rgba(0, 179, 158, 0.4) 0px 0px 15px 8px; - transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s; - &:hover{ - box-shadow: rgba(0, 179, 158, 0.9) 0px 0px 19px 6px; + .card-active{ + cursor: pointer; + transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s; + + &:hover{ + box-shadow: rgba(0, 179, 158, 0.9) 0px 0px 19px 6px; + } } .card-link{