From da66a073c23531363c11c6836fdd1c1ae51ed171 Mon Sep 17 00:00:00 2001 From: vinu-deriv Date: Fri, 11 Mar 2022 15:07:37 +0400 Subject: [PATCH 1/5] change in style of add new link inside payment method tab in p2p --- .../add-payment-method/select-payment-method.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx b/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx index 3c9da0c2ced2..e9bb65ad58af 100644 --- a/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx +++ b/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx @@ -46,7 +46,7 @@ const SelectPaymentMethod = () => { , my_profile_store.setSelectedPaymentMethod('other')} />, From 2cf3fb6655f6803877e5851b3678da2fbdf093ad Mon Sep 17 00:00:00 2001 From: vinu-deriv Date: Fri, 11 Mar 2022 16:09:37 +0400 Subject: [PATCH 2/5] Trigger Build From 7560b1bd3e272345678360bde03e0a63378e51de Mon Sep 17 00:00:00 2001 From: vinu-deriv Date: Mon, 14 Mar 2022 15:23:17 +0400 Subject: [PATCH 3/5] added color loss-danger back to the text for Add new payment method in p2p --- .../payment-methods/add-payment-method/select-payment-method.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx b/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx index e9bb65ad58af..0ed6d1e91874 100644 --- a/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx +++ b/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx @@ -46,6 +46,7 @@ const SelectPaymentMethod = () => { , my_profile_store.setSelectedPaymentMethod('other')} From 1e344473afed0ae40422663e2cde5bf66e316216 Mon Sep 17 00:00:00 2001 From: vinu-deriv Date: Mon, 21 Mar 2022 20:46:02 +0400 Subject: [PATCH 4/5] added color as loss danger to add new payment method link in p2p --- packages/core/src/sass/app/_common/base/common.scss | 3 +++ .../add-payment-method/select-payment-method.jsx | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/core/src/sass/app/_common/base/common.scss b/packages/core/src/sass/app/_common/base/common.scss index ce9eadfcffaf..be2ed005b9cc 100644 --- a/packages/core/src/sass/app/_common/base/common.scss +++ b/packages/core/src/sass/app/_common/base/common.scss @@ -139,6 +139,9 @@ html, &--prominent { color: var(--text-prominent); } + &--loss-danger { + color: var(--text-loss-danger); + } } .link.dark { diff --git a/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx b/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx index 0ed6d1e91874..c83b54568c7b 100644 --- a/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx +++ b/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx @@ -46,8 +46,7 @@ const SelectPaymentMethod = () => { , my_profile_store.setSelectedPaymentMethod('other')} />, From 3c4af5db019f2f412f80421eeafb0918e6d23dd3 Mon Sep 17 00:00:00 2001 From: vinu-deriv Date: Thu, 24 Mar 2022 17:45:59 +0400 Subject: [PATCH 5/5] reverted previous changes and kept className link for add new payment --- packages/core/src/sass/app/_common/base/common.scss | 3 --- .../add-payment-method/select-payment-method.jsx | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/core/src/sass/app/_common/base/common.scss b/packages/core/src/sass/app/_common/base/common.scss index be2ed005b9cc..ce9eadfcffaf 100644 --- a/packages/core/src/sass/app/_common/base/common.scss +++ b/packages/core/src/sass/app/_common/base/common.scss @@ -139,9 +139,6 @@ html, &--prominent { color: var(--text-prominent); } - &--loss-danger { - color: var(--text-loss-danger); - } } .link.dark { diff --git a/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx b/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx index c83b54568c7b..e9bb65ad58af 100644 --- a/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx +++ b/packages/p2p/src/components/my-profile/payment-methods/add-payment-method/select-payment-method.jsx @@ -46,7 +46,7 @@ const SelectPaymentMethod = () => { , my_profile_store.setSelectedPaymentMethod('other')} />,