From b2bffb3b83facfddac0c65203d9338fd8fbf700c Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Thu, 24 Oct 2024 21:07:23 +0100 Subject: [PATCH] virtual card modal height adjusted --- .../walletvirtual/VirtualAddCardPopout.jsx | 603 +++++++++--------- 1 file changed, 306 insertions(+), 297 deletions(-) diff --git a/src/components/MyWallet/walletvirtual/VirtualAddCardPopout.jsx b/src/components/MyWallet/walletvirtual/VirtualAddCardPopout.jsx index 60a86aa..5fe3660 100644 --- a/src/components/MyWallet/walletvirtual/VirtualAddCardPopout.jsx +++ b/src/components/MyWallet/walletvirtual/VirtualAddCardPopout.jsx @@ -14,8 +14,8 @@ const validationSchema = Yup.object().shape({ country: Yup.string() .required("Required"), phone_number: Yup.string() - .min(9, "Min 9 characters") - .max(11, "Max 11 characters") + .min(9, "Invalid") + .max(11, "Invalid") .required("Required"), // birthYear: Yup.string() // .required("Required"), @@ -177,8 +177,8 @@ const VirtualAddCardPopout = ({ details, onClose, situation, walletItem }) => { onSubmit={handleSubmit} > {(props) => ( -
-
+
+

{walletItem?.description} @@ -209,320 +209,329 @@ const VirtualAddCardPopout = ({ details, onClose, situation, walletItem }) => {

-
- {/* left part */} -
+
+

Name:{userDetails.lastname} {userDetails.firstname}

-
-
+
+
+ {/* left part */} +
+
+
+ + +
+
+ +
+
+ +
+ + +
+ + {/* hidden section */} +
+

Date of Birth

+
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+

Date of Birth

+
+ +
+
+
+ + {/* right part */} +
+ + + {/* */} + +
+
-
- -
-
- -
- - -
-
-

Date of Birth

-
-
- - -
-
- - -
-
- - -
-
-
+ -
- -
-
- - {/* right part */} -
- - - {/* */} - -
-
- -
- -
@@ -556,8 +565,8 @@ const VirtualAddCardPopout = ({ details, onClose, situation, walletItem }) => {
-
- + +
)}