From 7212ab6cfc72216afbb6e1ae8fbbecab564e12ab Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Fri, 5 Apr 2024 17:02:26 +0100 Subject: [PATCH] failed credit top up style adjusted --- .../MyWallet/Popup/CompleteConfirmCredit.jsx | 22 +++++++++---------- src/components/MyWallet/Popup/CreditPopup.jsx | 1 - src/components/MyWallet/WalletAction.jsx | 2 +- src/index.css | 4 ++-- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/src/components/MyWallet/Popup/CompleteConfirmCredit.jsx b/src/components/MyWallet/Popup/CompleteConfirmCredit.jsx index 098d2b1..8dcb17c 100644 --- a/src/components/MyWallet/Popup/CompleteConfirmCredit.jsx +++ b/src/components/MyWallet/Popup/CompleteConfirmCredit.jsx @@ -9,7 +9,7 @@ function CompleteConfirmCredit({ onClose, confirmCredit }) { return (
-
+
@@ -59,12 +59,12 @@ function CompleteConfirmCredit({ onClose, confirmCredit }) { {data?.internal_return >= 0 && data?.result !== "Charge failed" && ( -
-
-

+
+
+

Amount({data?.currency || ""})

- + {`${data?.symbol || ""} ${ Number(data?.amount * 0.01).toFixed(2) || "" }`} @@ -72,22 +72,22 @@ function CompleteConfirmCredit({ onClose, confirmCredit }) {
{data?.curr_balance && -
-

+
+

Wallet Balance

- + {(data?.curr_balance * 0.01).toFixed(2)}
} {isSuccess && ( -
-

+
+

Confirmation Number

- + {data?.confirmation}
diff --git a/src/components/MyWallet/Popup/CreditPopup.jsx b/src/components/MyWallet/Popup/CreditPopup.jsx index 96ecf9f..45244e4 100644 --- a/src/components/MyWallet/Popup/CreditPopup.jsx +++ b/src/components/MyWallet/Popup/CreditPopup.jsx @@ -34,7 +34,6 @@ const CreditPopup = ({ details, onClose, situation, walletItem }) => {
diff --git a/src/components/MyWallet/WalletAction.jsx b/src/components/MyWallet/WalletAction.jsx index 90658f8..9027005 100644 --- a/src/components/MyWallet/WalletAction.jsx +++ b/src/components/MyWallet/WalletAction.jsx @@ -38,7 +38,7 @@ function WalletAction({ walletItem, payment, openPopUp }) { }); }} > - Add Credit + Add Credit
diff --git a/src/index.css b/src/index.css index c6aa64f..433490d 100644 --- a/src/index.css +++ b/src/index.css @@ -1103,6 +1103,6 @@ TODO: Responsive =========================== margin: 0; } -.assign-task-popup { +/* .assign-task-popup { top: 75px; -} +} */