aboutsummaryrefslogtreecommitdiffstats
path: root/mascara
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-13 06:47:44 +0800
committerDan <danjm.com@gmail.com>2018-03-13 06:47:44 +0800
commit70f33d47472863e3fce41eff60c1fe078efef7de (patch)
tree898966496086c7f88e62dc728dafe056333a501c /mascara
parent0dad6db9736f2b90000c489b0b452c8d2fa02bb3 (diff)
downloadtangerine-wallet-browser-70f33d47472863e3fce41eff60c1fe078efef7de.tar.gz
tangerine-wallet-browser-70f33d47472863e3fce41eff60c1fe078efef7de.tar.zst
tangerine-wallet-browser-70f33d47472863e3fce41eff60c1fe078efef7de.zip
Left align create password.
Diffstat (limited to 'mascara')
-rw-r--r--mascara/src/app/first-time/create-password-screen.js2
-rw-r--r--mascara/src/app/first-time/index.css18
2 files changed, 10 insertions, 10 deletions
diff --git a/mascara/src/app/first-time/create-password-screen.js b/mascara/src/app/first-time/create-password-screen.js
index 37294b9b5..192da3399 100644
--- a/mascara/src/app/first-time/create-password-screen.js
+++ b/mascara/src/app/first-time/create-password-screen.js
@@ -60,7 +60,7 @@ class CreatePasswordScreen extends Component {
return isLoading
? <LoadingScreen loadingMessage="Creating your new account" />
: (
- <div>
+ <div className={classnames({ 'first-view-main-wrapper': !isMascara })}>
<div className={classnames({
'first-view-main': !isMascara,
'first-view-main__mascara': isMascara,
diff --git a/mascara/src/app/first-time/index.css b/mascara/src/app/first-time/index.css
index 9cc9faeb3..b49dd9d45 100644
--- a/mascara/src/app/first-time/index.css
+++ b/mascara/src/app/first-time/index.css
@@ -21,6 +21,12 @@
text-align: center;
}
+.first-view-main-wrapper {
+ display: flex;
+ width: 100%;
+ padding-left: 10vw;
+}
+
.first-view-main,
.first-view-main__mascara {
display: flex;
@@ -32,15 +38,9 @@
justify-content: space-between;
}
-@media screen and (min-width: 576px) {
- .first-view-main {
- width: 85vw;
- }
-}
-
-@media screen and (min-width: 769px) {
- .first-view-main {
- width: 80vw;
+@media screen and (max-width: 575px) {
+ .first-view-main-wrapper {
+ padding: 0;
}
}