Fix padding

This commit is contained in:
IshaVenikar 2024-07-30 15:35:01 +05:30
parent cb1e0a283a
commit 27a56175a8
3 changed files with 31 additions and 6 deletions

View File

@ -409,6 +409,7 @@ const AddNetwork = () => {
mode="contained"
loading={isSubmitting}
disabled={isSubmitting}
style={styles.networksButton}
onPress={handleSubmit(submit)}>
{isSubmitting ? 'Adding' : 'Submit'}
</Button>

View File

@ -187,6 +187,7 @@ const EditNetwork = ({ route }: EditNetworkProps) => {
mode="contained"
loading={isSubmitting}
disabled={isSubmitting}
style={styles.networksButton}
onPress={handleSubmit(submit)}>
{isSubmitting ? 'Adding' : 'Submit'}
</Button>

View File

@ -42,6 +42,7 @@ const styles = StyleSheet.create({
},
signButton: {
marginTop: 20,
marginBottom: 20,
width: 150,
alignSelf: 'center',
},
@ -205,9 +206,9 @@ const styles = StyleSheet.create({
},
subHeading: {
textAlign: 'center',
fontWeight: 'bold',
marginBottom: 10,
marginTop: 10,
fontSize: 20
},
centerText: {
textAlign: 'center',
@ -254,12 +255,30 @@ const styles = StyleSheet.create({
balancePadding: {
padding: 8,
},
noActiveSessions: { display: 'flex', alignItems: 'center', marginTop: 12 },
disconnectSession: { display: 'flex', justifyContent: 'center' },
sessionItem: { paddingLeft: 12, borderBottomWidth: 0.5 },
sessionsContainer: { paddingLeft: 12, borderBottomWidth: 0.5 },
noActiveSessions: {
display: 'flex',
alignItems: 'center',
marginTop: 20,
marginBottom: 20
},
disconnectSession: {
display: 'flex',
justifyContent: 'center'
},
sessionItem: {
paddingLeft: 12,
borderBottomWidth: 0.5
},
sessionsContainer: {
paddingLeft: 12,
borderBottomWidth: 0.5
},
walletConnectUriText: { padding: 10 },
walletConnectLogo: { width: 24, height: 15, margin: 0 },
walletConnectLogo: {
width: 24,
height: 15,
margin: 0
},
selectNetworkText: {
fontWeight: 'bold',
marginVertical: 10,
@ -277,6 +296,10 @@ const styles = StyleSheet.create({
},
linkContainer: {
paddingBottom: 72
},
networksButton: {
marginTop: 12,
marginBottom: 20
}
});