summaryrefslogtreecommitdiffhomepage
path: root/app/components
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-03-26 12:48:30 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-03-26 14:22:11 +0200
commit96c784d450e74786c993c87bf501b73c880fefc4 (patch)
treecc37ea9d3bc1bda8ce10968c371b6541ef540164 /app/components
parent54bbf42830092536f577f28c1bd42418d302963f (diff)
downloadmullvadvpn-96c784d450e74786c993c87bf501b73c880fefc4.tar.xz
mullvadvpn-96c784d450e74786c993c87bf501b73c880fefc4.zip
Tweak LoginStyles
Diffstat (limited to 'app/components')
-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,
},
}),
};