mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-27 18:40:33 +00:00
feat: style rec card with new icon
This commit is contained in:
parent
e324264696
commit
547e37a215
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user