Skip to content

Commit

Permalink
SeedRecovery: fix uneven columns and margins
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Oct 21, 2024
1 parent 71ade03 commit 43be31c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions views/Settings/SeedRecovery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,10 @@ export default class SeedRecovery extends React.PureComponent<
padding: 8,
backgroundColor: themeColor('secondary'),
borderRadius: 5,
margin: 6,
marginTop: 4,
marginBottom: 4,
marginLeft: index > 11 ? 0 : 6,
marginRight: 6,
flexDirection: 'row',
maxHeight:
index ===
Expand Down Expand Up @@ -612,12 +613,7 @@ export default class SeedRecovery extends React.PureComponent<
flexDirection: 'row'
}}
>
<View
style={{
...styles.column,
flexDirection: 'row'
}}
>
<View style={styles.column}>
{[
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
].map((index: number) => {
Expand Down Expand Up @@ -849,7 +845,7 @@ const styles = StyleSheet.create({
flexWrap: 'wrap',
alignItems: 'flex-start',
alignSelf: 'center',
flexDirection: 'column',
flexDirection: 'row',
width: '50%'
},
columnSuggestion: {
Expand Down

0 comments on commit 43be31c

Please sign in to comment.