fix infoCards

This commit is contained in:
Hristo Nedelkov 2023-10-21 19:09:35 +03:00
parent 0f4f9c648f
commit d23d5d23ce
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ type BasicInfoCardProps = {
const BasicInfoCard = ({ title, value }: BasicInfoCardProps) => { const BasicInfoCard = ({ title, value }: BasicInfoCardProps) => {
return ( return (
<DashboardCardWrapper width="205px" height="80px"> <DashboardCardWrapper >
<YStack> <YStack>
<Text size={15} weight={'semibold'}> <Text size={15} weight={'semibold'}>
{title} {title}

View File

@ -10,6 +10,7 @@ const BasicInfoCards = () => {
flexDirection: 'row', flexDirection: 'row',
flexWrap: 'wrap', flexWrap: 'wrap',
gap: '1vw', gap: '1vw',
width: '100%',
}} }}
> >
<BasicInfoCard title="Active Validators" value="6" /> <BasicInfoCard title="Active Validators" value="6" />