aboutsummaryrefslogtreecommitdiffstats
path: root/mascara/src/app/first-time/notice-screen.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@users.noreply.github.com>2018-03-16 23:50:21 +0800
committerGitHub <noreply@github.com>2018-03-16 23:50:21 +0800
commit7fb27cf0c7a5c8eb2aa492ced603873996537c81 (patch)
tree2ae2cbf88efd4d405bb42f87628af50b31e8e9f6 /mascara/src/app/first-time/notice-screen.js
parente2f340b3242c436bd4d7bc802662ae6f9f195899 (diff)
downloadtangerine-wallet-browser-7fb27cf0c7a5c8eb2aa492ced603873996537c81.tar
tangerine-wallet-browser-7fb27cf0c7a5c8eb2aa492ced603873996537c81.tar.gz
tangerine-wallet-browser-7fb27cf0c7a5c8eb2aa492ced603873996537c81.tar.bz2
tangerine-wallet-browser-7fb27cf0c7a5c8eb2aa492ced603873996537c81.tar.lz
tangerine-wallet-browser-7fb27cf0c7a5c8eb2aa492ced603873996537c81.tar.xz
tangerine-wallet-browser-7fb27cf0c7a5c8eb2aa492ced603873996537c81.tar.zst
tangerine-wallet-browser-7fb27cf0c7a5c8eb2aa492ced603873996537c81.zip
Update margins for consistency in first time flow (#3588)
Diffstat (limited to 'mascara/src/app/first-time/notice-screen.js')
-rw-r--r--mascara/src/app/first-time/notice-screen.js46
1 files changed, 26 insertions, 20 deletions
diff --git a/mascara/src/app/first-time/notice-screen.js b/mascara/src/app/first-time/notice-screen.js
index 0f0a7e95d..cbd8f9f5b 100644
--- a/mascara/src/app/first-time/notice-screen.js
+++ b/mascara/src/app/first-time/notice-screen.js
@@ -63,26 +63,32 @@ class NoticeScreen extends Component {
return (
isLoading
? <LoadingScreen />
- : <div
- className="tou"
- onScroll={this.onScroll}
- >
- <Identicon address={address} diameter={70} />
- <div className="tou__title">{title}</div>
- <Markdown
- className="tou__body markdown"
- source={body}
- skipHtml
- />
- <button
- className="first-time-flow__button"
- onClick={atBottom && this.acceptTerms}
- disabled={!atBottom}
- >
- Accept
- </button>
- <Breadcrumbs total={3} currentIndex={2} />
- </div>
+ : (
+ <div className="first-view-main-wrapper">
+ <div className="first-view-main">
+ <div
+ className="tou"
+ onScroll={this.onScroll}
+ >
+ <Identicon address={address} diameter={70} />
+ <div className="tou__title">{title}</div>
+ <Markdown
+ className="tou__body markdown"
+ source={body}
+ skipHtml
+ />
+ <button
+ className="first-time-flow__button"
+ onClick={atBottom && this.acceptTerms}
+ disabled={!atBottom}
+ >
+ Accept
+ </button>
+ <Breadcrumbs total={3} currentIndex={2} />
+ </div>
+ </div>
+ </div>
+ )
)
}
}