From 5fca77e0cf5311872f747e03e805a17471e533cd Mon Sep 17 00:00:00 2001 From: deriv Date: Thu, 23 Nov 2023 12:22:16 +0300 Subject: [PATCH] fix: wizard ui, sroll and api call --- .../components/wizard-component/index.tsx | 9 ++++++--- src/pages/signup-affiliates/index.tsx | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/pages/signup-affiliates/components/wizard-component/index.tsx b/src/pages/signup-affiliates/components/wizard-component/index.tsx index a55eff1f03b..cdd66deef77 100644 --- a/src/pages/signup-affiliates/components/wizard-component/index.tsx +++ b/src/pages/signup-affiliates/components/wizard-component/index.tsx @@ -44,10 +44,13 @@ export const Modal = styled.div` border-radius: unset; min-inline-size: unset; inline-size: 100vw; - block-size: calc(100vh - 120px); + block-size: calc(100vh - 150px); overflow: scroll; } ` +const Container = styled.div` + overflow: scroll; +` const Content = styled.div` block-size: fit-content; overflow-x: auto; @@ -76,7 +79,7 @@ const WizardComponent = ({ return ( <> -
+ @@ -84,7 +87,7 @@ const WizardComponent = ({
{step === idx + 1 && child}
))}
-
+ { if (affiliate_api_data) { Analytics?.trackEvent('ce_partner_account_signup_form', { action: 'success_popup_opened', - user_choice: JSON.stringify(affiliate_api_error.echo_req), + user_choice: JSON.stringify(affiliate_api_error?.echo_req), ...analyticsData, }) setSignupStatus('success')