From 3ee40dd6e32a57665f25cac1db721670d303f335 Mon Sep 17 00:00:00 2001 From: mahdiyeh-fs Date: Sun, 13 Feb 2022 16:30:08 +0330 Subject: [PATCH] change social unlink button style --- .../Security/Passwords/deriv-password.jsx | 26 +++++++++---------- packages/account/src/Styles/account.scss | 4 +++ 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/packages/account/src/Sections/Security/Passwords/deriv-password.jsx b/packages/account/src/Sections/Security/Passwords/deriv-password.jsx index 04acb9f1279d..11c88aa09e27 100644 --- a/packages/account/src/Sections/Security/Passwords/deriv-password.jsx +++ b/packages/account/src/Sections/Security/Passwords/deriv-password.jsx @@ -28,7 +28,10 @@ const DerivPassword = ({ email, is_dark_mode_on, is_social_signup, social_identi
- + ]} + /> @@ -72,31 +75,28 @@ const DerivPassword = ({ email, is_dark_mode_on, is_social_signup, social_identi />
-
+
{ + setIsUnlinkModalOpen(true); + setIsSentEmailModalOpen(true); + }} + > {social_identity_provider ? ( + ) : ( '' )}
-
) : ( diff --git a/packages/account/src/Styles/account.scss b/packages/account/src/Styles/account.scss index 2002d0773997..006f6247cedf 100644 --- a/packages/account/src/Styles/account.scss +++ b/packages/account/src/Styles/account.scss @@ -623,6 +623,10 @@ $MIN_HEIGHT_FLOATING: calc( border-radius: $BORDER_RADIUS; width: fit-content; height: 4rem; + cursor: pointer; + &:hover { + background-color: var(--general-active); + } } @include mobile {