From b664c3a4a2113253cc4e0283a3269374e5086a9a Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Tue, 9 Jan 2024 17:01:48 +0200 Subject: [PATCH] clear code --- src/components/General/Icon.tsx | 6 +++--- src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx | 2 +- .../ValidatorSetup/ValidatorSetup/ExecClientCard.tsx | 4 ++-- .../ValidatorSetup/ValidatorSetup/ExecClientCards.tsx | 3 +-- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/General/Icon.tsx b/src/components/General/Icon.tsx index e3fb33d1..828f774a 100644 --- a/src/components/General/Icon.tsx +++ b/src/components/General/Icon.tsx @@ -11,10 +11,10 @@ const Icon = ({ src, width = '16px', height = '16px' }: IconProps) => { ) } diff --git a/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx b/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx index 6459a182..65fd7508 100644 --- a/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx +++ b/src/pages/ValidatorOnboarding/FormStepper/FormStepper.tsx @@ -60,7 +60,7 @@ const FormStepper = ({ activeStep, windowWidth }: FormStepperProps) => { return ( changeStepOnClickHandler(originalIndex)} completed={activeStep > originalIndex - 1} diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCard.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCard.tsx index 5c3a34fb..4e96b12d 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCard.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCard.tsx @@ -28,8 +28,8 @@ const ExecClientCard = ({ name, icon, isComingSoon }: ExecClientCardProps) => { : '1px solid #DCE0E5', borderRadius: '16px', padding: '12px 16px', - width: '19%', cursor: 'pointer', + width: '100%', minWidth: '150px', }} space={'$8'} @@ -50,7 +50,7 @@ const ExecClientCard = ({ name, icon, isComingSoon }: ExecClientCardProps) => { alignItems: 'center', padding: '3px 6px', borderRadius: '67px', - width: 'fit-content', + }} > diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCards.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCards.tsx index 04741a92..99566925 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCards.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ValidatorSetup/ExecClientCards.tsx @@ -13,9 +13,8 @@ const ExecClientCards = () => { {Object.entries(DOCUMENTATIONS).map(([name, { icon }], index) => (