aboutsummaryrefslogtreecommitdiffstats
path: root/mascara
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2018-03-19 23:08:16 +0800
committerGitHub <noreply@github.com>2018-03-19 23:08:16 +0800
commit9b38a77f460a5ada0948182b97419119a495d476 (patch)
treec26130c6106dbe4bee612c6b998a92773c5abae1 /mascara
parent02d2b3db43d5d7abc3c966b37c4f0a3df42c6494 (diff)
downloadtangerine-wallet-browser-9b38a77f460a5ada0948182b97419119a495d476.tar
tangerine-wallet-browser-9b38a77f460a5ada0948182b97419119a495d476.tar.gz
tangerine-wallet-browser-9b38a77f460a5ada0948182b97419119a495d476.tar.bz2
tangerine-wallet-browser-9b38a77f460a5ada0948182b97419119a495d476.tar.lz
tangerine-wallet-browser-9b38a77f460a5ada0948182b97419119a495d476.tar.xz
tangerine-wallet-browser-9b38a77f460a5ada0948182b97419119a495d476.tar.zst
tangerine-wallet-browser-9b38a77f460a5ada0948182b97419119a495d476.zip
Make entire gray container of 'reveal seed phrase' a clickable area. (#3596)
Diffstat (limited to 'mascara')
-rw-r--r--mascara/src/app/first-time/backup-phrase-screen.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/mascara/src/app/first-time/backup-phrase-screen.js b/mascara/src/app/first-time/backup-phrase-screen.js
index c8cc56c6c..6819abcf3 100644
--- a/mascara/src/app/first-time/backup-phrase-screen.js
+++ b/mascara/src/app/first-time/backup-phrase-screen.js
@@ -78,14 +78,16 @@ class BackupPhraseScreen extends Component {
{this.props.seedWords}
</div>
{!isShowingSecret && (
- <div className="backup-phrase__secret-blocker">
+ <div
+ className="backup-phrase__secret-blocker"
+ onClick={() => this.setState({ isShowingSecret: true })}
+ >
<LockIcon width="28px" height="35px" fill="#FFFFFF" />
- <button
+ <div
className="backup-phrase__reveal-button"
- onClick={() => this.setState({ isShowingSecret: true })}
>
Click here to reveal secret words
- </button>
+ </div>
</div>
)}
</div>