feat: style rec card with new icon

This commit is contained in:
RadoslavDimchev 2023-10-31 10:19:27 +02:00
parent e324264696
commit 547e37a215

View File

@ -25,14 +25,16 @@ const RecoveryMechanismCard = ({ value, recoveryMechanism, icon }: RecoveryMecha
cursor: 'pointer', cursor: 'pointer',
backgroundColor: recoveryMechanism === value ? '#f4f6fe' : '#fff', backgroundColor: recoveryMechanism === value ? '#f4f6fe' : '#fff',
width: '100%', width: '100%',
height: '140px', height: '120px',
}} }}
onClick={handleRecMechanismChange} onClick={handleRecMechanismChange}
> >
<Text size={15} weight={'semibold'}> <Text size={15} weight={'semibold'}>
{value} {value}
</Text> </Text>
<img src={`/icons/${icon}`} alt="logo" /> <div style={{ display: 'flex', justifyContent: 'end', marginTop: '8px' }}>
<img src={`/icons/${icon}`} alt="logo" />
</div>
</div> </div>
) )
} }