diff options
| author | anderklander <anderklander@gmail.com> | 2018-03-26 12:48:30 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-03-26 14:22:11 +0200 |
| commit | 96c784d450e74786c993c87bf501b73c880fefc4 (patch) | |
| tree | cc37ea9d3bc1bda8ce10968c371b6541ef540164 /app/components/Login.js | |
| parent | 54bbf42830092536f577f28c1bd42418d302963f (diff) | |
| download | mullvadvpn-96c784d450e74786c993c87bf501b73c880fefc4.tar.xz mullvadvpn-96c784d450e74786c993c87bf501b73c880fefc4.zip | |
Tweak LoginStyles
Diffstat (limited to 'app/components/Login.js')
| -rw-r--r-- | app/components/Login.js | 6 |
1 files changed, 3 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>); } } |
