From 2ef4cbaa89f5539632d8bfe93355d81d5c1e7831 Mon Sep 17 00:00:00 2001 From: Frankie Date: Sun, 14 Aug 2016 21:41:08 -0700 Subject: Add margin to "go to test faucet" button and show more of the address on qr code page --- ui/app/components/buy-button-subview.js | 3 +++ ui/app/components/qr-code.js | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/app/components/buy-button-subview.js b/ui/app/components/buy-button-subview.js index 19a6e251f..cebb8f3f6 100644 --- a/ui/app/components/buy-button-subview.js +++ b/ui/app/components/buy-button-subview.js @@ -110,6 +110,9 @@ BuyButtonSubview.prototype.formVersionSubview = function () { h('h3.text-transform-uppercase', 'or:'), this.props.network === '2' ? h('button.text-transform-uppercase', { onClick: () => this.props.dispatch(actions.buyEth()), + style: { + marginTop: '15px', + }, }, 'Go To Test Faucet') : null, ]) } diff --git a/ui/app/components/qr-code.js b/ui/app/components/qr-code.js index 1c744b234..f8cace4e0 100644 --- a/ui/app/components/qr-code.js +++ b/ui/app/components/qr-code.js @@ -41,7 +41,11 @@ QrCodeView.prototype.render = function () { }, }), h('.flex-row', [ - h('h3.ellip-address', Qr.data), + h('h3.ellip-address', { + style: { + width: '247px', + }, + }, Qr.data), h(CopyButton, { value: Qr.data, }), -- cgit v1.2.3