From 3fcd265d44bdb96a100a49266cf86c1c59c551bb Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Fri, 26 Jan 2024 10:39:07 +0200 Subject: [PATCH] fix both cards --- .../ValidatorSetup/ConsensusClient/ConsensusGaugeCard.tsx | 2 +- .../ValidatorSetup/ConsensusClient/PairedDeviceCard.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusClient/ConsensusGaugeCard.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusClient/ConsensusGaugeCard.tsx index 8169048a..091ef297 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusClient/ConsensusGaugeCard.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusClient/ConsensusGaugeCard.tsx @@ -23,7 +23,7 @@ const ConsensusGaugeCard = ({ synced, total, title, color }: ConsensusGaugeCardP borderRadius: '10px', padding: '6px 12px', borderWidth: '0.5px', - width: windowSize.width < 580 ? '90%' : 'auto', +width: windowSize.width < 580 ? '100%' : 'auto', height: '100%', }} > diff --git a/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusClient/PairedDeviceCard.tsx b/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusClient/PairedDeviceCard.tsx index 04d3d35c..31258d92 100644 --- a/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusClient/PairedDeviceCard.tsx +++ b/src/pages/ValidatorOnboarding/ValidatorSetup/ConsensusClient/PairedDeviceCard.tsx @@ -13,7 +13,7 @@ const PairedDeviceCard = () => { border: '1px solid #DCE0E5', borderRadius: '10px', marginBottom: '20px', - width: windowSize.width < 580 ? '90%' : 'auto', + width: windowSize.width < 580 ? '100%' : 'auto', }} justifyContent="space-between" alignItems={'center'}