diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-07-31 13:25:20 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-07-31 13:25:20 +0800 |
commit | 7d4927c975554b091d72f6c24e7dd9e824f32548 (patch) | |
tree | 52a5cd90404ac185a3237c07ac4318c0e60ebec4 /ui | |
parent | 610d6da8aee2c32bb142b1ff93f6a0a685adf46c (diff) | |
download | tangerine-wallet-browser-7d4927c975554b091d72f6c24e7dd9e824f32548.tar tangerine-wallet-browser-7d4927c975554b091d72f6c24e7dd9e824f32548.tar.gz tangerine-wallet-browser-7d4927c975554b091d72f6c24e7dd9e824f32548.tar.bz2 tangerine-wallet-browser-7d4927c975554b091d72f6c24e7dd9e824f32548.tar.lz tangerine-wallet-browser-7d4927c975554b091d72f6c24e7dd9e824f32548.tar.xz tangerine-wallet-browser-7d4927c975554b091d72f6c24e7dd9e824f32548.tar.zst tangerine-wallet-browser-7d4927c975554b091d72f6c24e7dd9e824f32548.zip |
Add layout for Buy and Send buttons
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/wallet-view.js | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/ui/app/components/wallet-view.js b/ui/app/components/wallet-view.js index c06c4133b..b61b53447 100644 --- a/ui/app/components/wallet-view.js +++ b/ui/app/components/wallet-view.js @@ -115,7 +115,50 @@ WalletView.prototype.render = function () { ]), // Buy Buttons - + // for index.css + // + // TODO: move into a class + // div.wallet-btn { + // border: 1px solid rgb(91, 93, 103); + // border-radius: 2px; + // height: 30px; + // width: 75px; + // font-size: 0.8em; + // text-align: center; + // line-height: 25px; + // } + + h('div.flex-row', { + style: { + marginLeft: '35px', + marginTop: '10px', + } + }, [ + h('div', { + style: { + border: '1px solid rgb(91, 93, 103)', + borderRadius: '2px', + height: '30px', + width: '75px', + fontSize: '0.8em', + textAlign: 'center', + lineHeight: '25px', + } + }, 'BUY'), + h('div.wallet-btn', { + style: { + border: '1px solid rgb(91, 93, 103)', + borderRadius: '2px', + height: '30px', + width: '75px', + fontSize: '0.8em', + textAlign: 'center', + lineHeight: '25px', + // spacing... + marginLeft: '15px', + } + }, 'SEND'), + ]), // Wallet contents |