summaryrefslogtreecommitdiffhomepage
path: root/app/components/LoginStyles.js
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-04-12 09:41:13 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-04-16 12:01:12 +0200
commit7f485b287d9a501e7de11d470d68f1e698ff10c2 (patch)
tree81767a79b7d47f813da5ef2edcff150a243b3416 /app/components/LoginStyles.js
parentc9f2ec62790a62e674b1252a6a18dec451d17bf3 (diff)
downloadmullvadvpn-7f485b287d9a501e7de11d470d68f1e698ff10c2.tar.xz
mullvadvpn-7f485b287d9a501e7de11d470d68f1e698ff10c2.zip
JS fixes for react-native
Diffstat (limited to 'app/components/LoginStyles.js')
-rw-r--r--app/components/LoginStyles.js16
1 files changed, 5 insertions, 11 deletions
diff --git a/app/components/LoginStyles.js b/app/components/LoginStyles.js
index 471ab045cc..47d7467f7d 100644
--- a/app/components/LoginStyles.js
+++ b/app/components/LoginStyles.js
@@ -4,9 +4,6 @@ import { colors } from '../config';
export default {
...createViewStyles({
- login: {
- height: '100%',
- },
login_footer: {
backgroundColor: colors.darkBlue,
paddingTop: 18,
@@ -22,7 +19,6 @@ export default {
login_form:{
flex:1,
flexDirection: 'column',
- justifyContent: 'flex_end',
overflow:'visible',
paddingTop: 0,
paddingBottom: 0,
@@ -61,7 +57,7 @@ export default {
},
account_input_button: {
flex: 0,
- border: 0,
+ borderWidth: 0,
width: 48,
alignItems: 'center',
justifyContent: 'center',
@@ -73,7 +69,6 @@ export default {
account_input_button__invisible: {
color: colors.white,
backgroundColor: colors.white,
- visibility: 'hidden',
opacity: 0,
},
account_dropdown__spacer: {
@@ -131,20 +126,19 @@ export default {
fontFamily: 'Open Sans',
fontSize: 13,
fontWeight: '600',
-
- letterSpaceing: -0.2,
+ letterSpacing: -0.2,
color: colors.white80,
marginBottom: 8,
},
account_input_textfield: {
- border: 0,
+ borderWidth: 0,
paddingTop: 10,
paddingRight: 12,
paddingLeft: 12,
paddingBottom: 12,
fontFamily: 'DINPro',
fontSize: 20,
- fontWeight: 900,
+ fontWeight: '900',
lineHeight: 26,
color: colors.blue,
backgroundColor: 'transparent',
@@ -157,7 +151,7 @@ export default {
fontWeight: '900',
lineHeight: 26,
color: colors.blue80,
- border: 0,
+ borderWidth: 0,
textAlign: 'left',
marginLeft: 0,
},