feat: structure mnemonic into grid

This commit is contained in:
RadoslavDimchev 2023-10-05 00:16:52 +03:00
parent f2ef848b2f
commit 6f558968a8

View File

@ -35,11 +35,16 @@ const RecoveryPhrase = ({ isKeystoreFiles }: RecoveryPhraseProps) => {
padding: '28px 18px',
backgroundColor: '#f4f6fe',
width: '100%',
height: '176px',
}}
>
<YStack space={'$2'} style={{ filter: `blur(${isReveal ? '0px' : '4px'})` }}>
<XStack space={'$1'}>
<XStack
style={{
display: 'grid',
gridTemplateColumns: 'repeat(6, 1fr)',
gap: '5px 0px',
}}
>
{generatedMnemonic.split(' ').map((word, index) => (
<Text key={index} size={19} weight={'semibold'}>
{word}