summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/components/Login.js6
-rw-r--r--app/components/LoginStyles.js2
2 files changed, 5 insertions, 3 deletions
diff --git a/app/components/Login.js b/app/components/Login.js
index d5274a988b..d510f96d7b 100644
--- a/app/components/Login.js
+++ b/app/components/Login.js
@@ -356,7 +356,6 @@ class AccountDropdown extends React.Component<AccountDropdownProps> {
const uniqueItems = [...new Set(this.props.items)];
return (
<View>
- <View style={ styles.account_dropdown__spacer }/>
{ uniqueItems.map(token => (
<AccountDropdownItem key={ token }
value={ token }
@@ -378,7 +377,8 @@ type AccountDropdownItemProps = {
class AccountDropdownItem extends React.Component<AccountDropdownItemProps> {
render() {
- return (
+ return (<View>
+ <View style={ styles.account_dropdown__spacer }/>
<CellButton style={ styles.account_dropdown__item } cellHoverStyle={ styles.account_dropdown__item_hover }>
<Label style={styles.account_dropdown__label} cellHoverStyle={ styles.account_dropdown__label_hover } onPress={ () => this.props.onSelect(this.props.value) }>
{ this.props.label }
@@ -390,6 +390,6 @@ class AccountDropdownItem extends React.Component<AccountDropdownItemProps> {
height='16' width='16'
onPress={ () => this.props.onRemove(this.props.value) }/>
</CellButton>
- );
+ </View>);
}
}
diff --git a/app/components/LoginStyles.js b/app/components/LoginStyles.js
index 19853abd20..471ab045cc 100644
--- a/app/components/LoginStyles.js
+++ b/app/components/LoginStyles.js
@@ -85,6 +85,7 @@ export default {
paddingRight: 12,
paddingLeft: 12,
paddingBottom: 12,
+ marginBottom: 0,
flexDirection: 'row',
backgroundColor: colors.white60,
},
@@ -158,6 +159,7 @@ export default {
color: colors.blue80,
border: 0,
textAlign: 'left',
+ marginLeft: 0,
},
}),
};