From 80a57d350c7659d77130d24dbac369cef806c4cb Mon Sep 17 00:00:00 2001 From: Sean Rabaut Date: Fri, 14 Sep 2018 15:45:21 -0400 Subject: Improvement: Allow enter to submit password form --- mascara/src/app/first-time/create-password-screen.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'mascara') diff --git a/mascara/src/app/first-time/create-password-screen.js b/mascara/src/app/first-time/create-password-screen.js index 6b284f7c5..0908787da 100644 --- a/mascara/src/app/first-time/create-password-screen.js +++ b/mascara/src/app/first-time/create-password-screen.js @@ -63,7 +63,9 @@ class CreatePasswordScreen extends Component { return password === confirmPassword } - createAccount = () => { + createAccount = (event) => { + event.preventDefault() + if (!this.isValid()) { return } @@ -127,7 +129,7 @@ class CreatePasswordScreen extends Component { It allows you to hold ether & tokens, and interact with decentralized applications. } -
+
Create Password
@@ -188,7 +190,7 @@ class CreatePasswordScreen extends Component { { */ } -
+ ) -- cgit From 3c58ae6b82d36505457ff643c3356bb583c5f9df Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Mon, 24 Sep 2018 00:17:07 -0230 Subject: Fix height of first-time-flow container --- mascara/src/app/first-time/index.css | 1 + 1 file changed, 1 insertion(+) (limited to 'mascara') diff --git a/mascara/src/app/first-time/index.css b/mascara/src/app/first-time/index.css index 2d05a48b8..d7010d6da 100644 --- a/mascara/src/app/first-time/index.css +++ b/mascara/src/app/first-time/index.css @@ -8,6 +8,7 @@ .first-time-flow { width: 100vw; + height: 100vh; background-color: #fff; overflow: auto; display: flex; -- cgit From 352ba85272048521131340a1cc2fc67a67afedf2 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Mon, 24 Sep 2018 19:30:17 -0230 Subject: Fix height of first-time-flow container, again but different --- mascara/src/app/first-time/index.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mascara') diff --git a/mascara/src/app/first-time/index.css b/mascara/src/app/first-time/index.css index d7010d6da..a575fe97e 100644 --- a/mascara/src/app/first-time/index.css +++ b/mascara/src/app/first-time/index.css @@ -8,7 +8,6 @@ .first-time-flow { width: 100vw; - height: 100vh; background-color: #fff; overflow: auto; display: flex; @@ -18,6 +17,12 @@ font-family: Roboto; } +@media screen and (min-height: 576px) { + .first-time-flow { + height: 100vh; + } +} + .alpha-warning__container { display: flex; justify-content: center; -- cgit From c10d12a90c2f81a6f852d2c14bcf7f8b306d9348 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Wed, 10 Oct 2018 17:46:17 -0230 Subject: Fix styling of first-time-flow container --- mascara/src/app/first-time/index.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mascara') diff --git a/mascara/src/app/first-time/index.css b/mascara/src/app/first-time/index.css index a575fe97e..f3df240e7 100644 --- a/mascara/src/app/first-time/index.css +++ b/mascara/src/app/first-time/index.css @@ -17,7 +17,7 @@ font-family: Roboto; } -@media screen and (min-height: 576px) { +@media screen and (min-height: 601px) { .first-time-flow { height: 100vh; } -- cgit