fix first row small cards

This commit is contained in:
Hristo Nedelkov 2023-10-31 10:54:47 +02:00
parent 5777233aec
commit 70aa7cd50c
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ const AddCardsContainer = () => {
const cards = 2 const cards = 2
return ( return (
<DashboardCardWrapper padding="0" minWidth="150px"> <DashboardCardWrapper padding="0" minWidth="50px" >
<YStack height={'100%'}> <YStack height={'100%'}>
{Array.from({ length: cards }).map((_, index) => ( {Array.from({ length: cards }).map((_, index) => (
<AddCard key={index} style={{ padding: '56px', height: getHeightPercentages(cards) }} /> <AddCard key={index} style={{ padding: '56px', height: getHeightPercentages(cards) }} />

View File

@ -7,7 +7,7 @@ import ConsensusCard from './ConsensusClientCard'
const SyncStatusCard = () => { const SyncStatusCard = () => {
return ( return (
<DashboardCardWrapper padding="0" minWidth="250px"> <DashboardCardWrapper padding="0" minWidth="50px" >
<YStack space={'$2'}> <YStack space={'$2'}>
<Stack style={{ paddingTop: '12px', paddingLeft: '16px' }}> <Stack style={{ paddingTop: '12px', paddingLeft: '16px' }}>
<Text size={15} weight={'semibold'}> <Text size={15} weight={'semibold'}>