Fix padding
This commit is contained in:
parent
cb1e0a283a
commit
27a56175a8
@ -409,6 +409,7 @@ const AddNetwork = () => {
|
|||||||
mode="contained"
|
mode="contained"
|
||||||
loading={isSubmitting}
|
loading={isSubmitting}
|
||||||
disabled={isSubmitting}
|
disabled={isSubmitting}
|
||||||
|
style={styles.networksButton}
|
||||||
onPress={handleSubmit(submit)}>
|
onPress={handleSubmit(submit)}>
|
||||||
{isSubmitting ? 'Adding' : 'Submit'}
|
{isSubmitting ? 'Adding' : 'Submit'}
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -187,6 +187,7 @@ const EditNetwork = ({ route }: EditNetworkProps) => {
|
|||||||
mode="contained"
|
mode="contained"
|
||||||
loading={isSubmitting}
|
loading={isSubmitting}
|
||||||
disabled={isSubmitting}
|
disabled={isSubmitting}
|
||||||
|
style={styles.networksButton}
|
||||||
onPress={handleSubmit(submit)}>
|
onPress={handleSubmit(submit)}>
|
||||||
{isSubmitting ? 'Adding' : 'Submit'}
|
{isSubmitting ? 'Adding' : 'Submit'}
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -42,6 +42,7 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
signButton: {
|
signButton: {
|
||||||
marginTop: 20,
|
marginTop: 20,
|
||||||
|
marginBottom: 20,
|
||||||
width: 150,
|
width: 150,
|
||||||
alignSelf: 'center',
|
alignSelf: 'center',
|
||||||
},
|
},
|
||||||
@ -205,9 +206,9 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
subHeading: {
|
subHeading: {
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
fontWeight: 'bold',
|
|
||||||
marginBottom: 10,
|
marginBottom: 10,
|
||||||
marginTop: 10,
|
marginTop: 10,
|
||||||
|
fontSize: 20
|
||||||
},
|
},
|
||||||
centerText: {
|
centerText: {
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
@ -254,12 +255,30 @@ const styles = StyleSheet.create({
|
|||||||
balancePadding: {
|
balancePadding: {
|
||||||
padding: 8,
|
padding: 8,
|
||||||
},
|
},
|
||||||
noActiveSessions: { display: 'flex', alignItems: 'center', marginTop: 12 },
|
noActiveSessions: {
|
||||||
disconnectSession: { display: 'flex', justifyContent: 'center' },
|
display: 'flex',
|
||||||
sessionItem: { paddingLeft: 12, borderBottomWidth: 0.5 },
|
alignItems: 'center',
|
||||||
sessionsContainer: { paddingLeft: 12, borderBottomWidth: 0.5 },
|
marginTop: 20,
|
||||||
|
marginBottom: 20
|
||||||
|
},
|
||||||
|
disconnectSession: {
|
||||||
|
display: 'flex',
|
||||||
|
justifyContent: 'center'
|
||||||
|
},
|
||||||
|
sessionItem: {
|
||||||
|
paddingLeft: 12,
|
||||||
|
borderBottomWidth: 0.5
|
||||||
|
},
|
||||||
|
sessionsContainer: {
|
||||||
|
paddingLeft: 12,
|
||||||
|
borderBottomWidth: 0.5
|
||||||
|
},
|
||||||
walletConnectUriText: { padding: 10 },
|
walletConnectUriText: { padding: 10 },
|
||||||
walletConnectLogo: { width: 24, height: 15, margin: 0 },
|
walletConnectLogo: {
|
||||||
|
width: 24,
|
||||||
|
height: 15,
|
||||||
|
margin: 0
|
||||||
|
},
|
||||||
selectNetworkText: {
|
selectNetworkText: {
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
marginVertical: 10,
|
marginVertical: 10,
|
||||||
@ -277,6 +296,10 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
linkContainer: {
|
linkContainer: {
|
||||||
paddingBottom: 72
|
paddingBottom: 72
|
||||||
|
},
|
||||||
|
networksButton: {
|
||||||
|
marginTop: 12,
|
||||||
|
marginBottom: 20
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user