Skip to content

Commit

Permalink
fix(setup-wallet): plate icon alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed May 7, 2024
1 parent d65b2f4 commit b6c76a7
Showing 1 changed file with 15 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,16 @@ export const CardAboutPhrase = ({
<View key={index + '_ITEM_CARD'} style={styles.itemContainer}>
<Text style={styles.bullet}></Text>

<Space height="s" />
<Space width="s" />

<Text style={styles.textLine}>
{handleShowChecksum && (
<>
<WalletChecksum iconSeed={checksumImage} style={styles.walletChecksum} />
<View style={styles.walletChecksumContainer}>
<WalletChecksum iconSeed={checksumImage} style={styles.walletChecksum} />

<Space height="s" />
<Space width="s" />
</View>
</>
)}

Expand Down Expand Up @@ -96,7 +98,16 @@ const useStyles = (padding?: boolean, background?: boolean) => {
...theme.typography['body-1-l-regular'],
color: background ? theme.color.primary[600] : theme.color.gray[900],
},
walletChecksum: {width: 24, height: 24},
walletChecksum: {
width: 24,
height: 24,
position: 'absolute',
top: -10,
},
walletChecksumContainer: {
position: 'relative',
width: 30,
},
})

const colors = {
Expand Down

0 comments on commit b6c76a7

Please sign in to comment.