diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-22 01:27:56 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-22 01:27:56 +0800 |
commit | 877faaf09608fbb5f1ba9dd853959e7399893068 (patch) | |
tree | d7dd45ac54953eb04241d9a1ccdb393d71018436 /ui/app/components/qr-code.js | |
parent | b836d0483d835b0665a14e41f68f9fbd574fd655 (diff) | |
download | tangerine-wallet-browser-877faaf09608fbb5f1ba9dd853959e7399893068.tar tangerine-wallet-browser-877faaf09608fbb5f1ba9dd853959e7399893068.tar.gz tangerine-wallet-browser-877faaf09608fbb5f1ba9dd853959e7399893068.tar.bz2 tangerine-wallet-browser-877faaf09608fbb5f1ba9dd853959e7399893068.tar.lz tangerine-wallet-browser-877faaf09608fbb5f1ba9dd853959e7399893068.tar.xz tangerine-wallet-browser-877faaf09608fbb5f1ba9dd853959e7399893068.tar.zst tangerine-wallet-browser-877faaf09608fbb5f1ba9dd853959e7399893068.zip |
Integrate old QR component with new modal layout
Diffstat (limited to 'ui/app/components/qr-code.js')
-rw-r--r-- | ui/app/components/qr-code.js | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/ui/app/components/qr-code.js b/ui/app/components/qr-code.js index 5a2e4963a..914d3aa29 100644 --- a/ui/app/components/qr-code.js +++ b/ui/app/components/qr-code.js @@ -29,28 +29,28 @@ QrCodeView.prototype.render = function () { const qrImage = qrCode(4, 'M') qrImage.addData(address) qrImage.make() - return h('.main-container.flex-column', { - key: 'qr', + return h('.div.flex-column.flex-center', { + // key: 'qr', style: { - justifyContent: 'center', - paddingBottom: '45px', - paddingLeft: '45px', - paddingRight: '45px', - alignItems: 'center', + // justifyContent: 'center', + // paddingBottom: '45px', + // paddingLeft: '45px', + // paddingRight: '45px', + // alignItems: 'center', }, }, [ Array.isArray(Qr.message) ? h('.message-container', this.renderMultiMessage()) : h('.qr-header', Qr.message), this.props.warning ? this.props.warning && h('span.error.flex-center', { style: { - textAlign: 'center', - width: '229px', - height: '82px', + // textAlign: 'center', + // width: '229px', + // height: '82px', }, }, this.props.warning) : null, - h('#qr-container.flex-column', { + h('.div', { style: { marginTop: '25px', marginBottom: '15px', @@ -59,15 +59,15 @@ QrCodeView.prototype.render = function () { __html: qrImage.createTableTag(4), }, }), - h('.flex-row', [ - h('h3.ellip-address', { + h('.div', [ + h('span.qr-ellip-address', { style: { width: '247px', }, }, Qr.data), - h(CopyButton, { - value: Qr.data, - }), + // h(CopyButton, { + // value: Qr.data, + // }), ]), ]) } |