Merge pull request #2193 from ecency/sa/-transfer-screen-ui-bug

Alignment / Padding issues in Transfer screens
This commit is contained in:
Feruz M 2022-02-16 17:17:44 +02:00 committed by GitHub
commit 43d3735a90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -49,7 +49,6 @@ export default EStyleSheet.create({
},
autocompleteLineContainer: {
flexDirection: 'row',
paddingHorizontal: 20,
zIndex: 999,
},
autocompleteLabelText: {
@ -72,7 +71,8 @@ export default EStyleSheet.create({
},
autocompleteLabelContainer: {
flex: 1,
padding: 10,
paddingVertical: 10,
paddingHorizontal: 16,
justifyContent: 'center',
color: '$primaryBlack',
maxWidth: '$deviceWidth / 2.9',

View File

@ -47,7 +47,6 @@ export default EStyleSheet.create({
},
autocomplateLineContainer: {
flexDirection: 'row',
paddingHorizontal: 20,
zIndex: 999,
},
autocomplateLabelText: {
@ -70,7 +69,8 @@ export default EStyleSheet.create({
},
autocomplateLabelContainer: {
flex: 1,
padding: 10,
paddingVertical: 10,
paddingHorizontal: 16,
justifyContent: 'center',
color: '$primaryBlack',
maxWidth: '$deviceWidth / 2.9',

View File

@ -194,7 +194,7 @@ const TransferView = ({
<BasicHeader title={intl.formatMessage({ id: `transfer.${transferType}` })} />
<View style={styles.container}>
<ScrollView>
<View style={styles.topContent}>
<View style={[styles.toFromAvatarsContainer, { marginBottom: 16 }]}>
<UserAvatar username={from} size="xl" style={styles.userAvatar} noAction />
<Icon style={styles.icon} name="arrow-forward" iconType="MaterialIcons" />
<UserAvatar username={destination} size="xl" style={styles.userAvatar} noAction />

View File

@ -126,7 +126,7 @@ export default EStyleSheet.create({
},
formButton: {
padding: 12,
height: 44,
borderRadius: 5,
backgroundColor: '$primaryBlue',
marginTop: 5,

View File

@ -177,7 +177,7 @@ class TransferTokenView extends Component {
<BasicHeader title={intl.formatMessage({ id: `transfer.${transferType}` })} />
<View style={styles.container}>
<ScrollView>
<View style={styles.topContent}>
<View style={[styles.toFromAvatarsContainer, { marginBottom: 16 }]}>
<UserAvatar username={from} size="xl" style={styles.userAvatar} noAction />
<Icon style={styles.icon} name="arrow-forward" iconType="MaterialIcons" />
<UserAvatar username={destination} size="xl" style={styles.userAvatar} noAction />