aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/shapeshift-form.js
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-04-19 00:21:24 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-04-19 05:22:17 +0800
commitce03b7db51570295c7868382cf997dbb1bc5725a (patch)
treeef0a79a8aff59253de4fa6f6406cf3695f38ca41 /ui/app/components/shapeshift-form.js
parent83811910c84342094be4ac94dca829e8f5ff630f (diff)
downloadtangerine-wallet-browser-ce03b7db51570295c7868382cf997dbb1bc5725a.tar
tangerine-wallet-browser-ce03b7db51570295c7868382cf997dbb1bc5725a.tar.gz
tangerine-wallet-browser-ce03b7db51570295c7868382cf997dbb1bc5725a.tar.bz2
tangerine-wallet-browser-ce03b7db51570295c7868382cf997dbb1bc5725a.tar.lz
tangerine-wallet-browser-ce03b7db51570295c7868382cf997dbb1bc5725a.tar.xz
tangerine-wallet-browser-ce03b7db51570295c7868382cf997dbb1bc5725a.tar.zst
tangerine-wallet-browser-ce03b7db51570295c7868382cf997dbb1bc5725a.zip
Initial redo attempt of the buy view to look like vladt's desighn
Diffstat (limited to 'ui/app/components/shapeshift-form.js')
-rw-r--r--ui/app/components/shapeshift-form.js24
1 files changed, 7 insertions, 17 deletions
diff --git a/ui/app/components/shapeshift-form.js b/ui/app/components/shapeshift-form.js
index 8c9686035..2745b1b11 100644
--- a/ui/app/components/shapeshift-form.js
+++ b/ui/app/components/shapeshift-form.js
@@ -43,14 +43,18 @@ ShapeshiftForm.prototype.renderMain = function () {
style: {
// marginTop: '10px',
padding: '25px',
+ paddingTop: '5px',
width: '100%',
+ minHeight: '215px',
alignItems: 'center',
+ overflowY: 'auto',
},
}, [
h('.flex-row', {
style: {
justifyContent: 'center',
alignItems: 'baseline',
+ height: '42px',
},
}, [
h('img', {
@@ -82,7 +86,6 @@ ShapeshiftForm.prototype.renderMain = function () {
style: {
fontSize: '12px',
color: '#F7861C',
- position: 'relative',
bottom: '48px',
left: '106px',
},
@@ -92,7 +95,6 @@ ShapeshiftForm.prototype.renderMain = function () {
h('.icon-control', [
h('i.fa.fa-refresh.fa-4.orange', {
style: {
- position: 'relative',
bottom: '5px',
left: '5px',
color: '#F7861C',
@@ -121,8 +123,6 @@ ShapeshiftForm.prototype.renderMain = function () {
},
}),
]),
-
- this.props.isSubLoading ? this.renderLoading() : null,
h('.flex-column', {
style: {
alignItems: 'flex-start',
@@ -138,17 +138,6 @@ ShapeshiftForm.prototype.renderMain = function () {
this.props.warning) : this.renderInfo(),
]),
- h('.flex-row', {
- style: {
- padding: '10px',
- paddingBottom: '2px',
- width: '100%',
- },
- }, [
- h('div', 'Receiving address:'),
- h('.ellip-address', this.props.buyView.buyAddress),
- ]),
-
h(this.activeToggle('.input-container'), {
style: {
padding: '10px',
@@ -156,6 +145,7 @@ ShapeshiftForm.prototype.renderMain = function () {
width: '100%',
},
}, [
+
h('div', `${coin} Address:`),
h('input#fromCoinAddress.buy-inputs', {
@@ -190,6 +180,8 @@ ShapeshiftForm.prototype.renderMain = function () {
onClick: this.shift.bind(this),
style: {
marginTop: '10px',
+ position: 'relative',
+ bottom: '33px',
},
},
'Submit'),
@@ -266,8 +258,6 @@ ShapeshiftForm.prototype.renderInfo = function () {
return h('span', {
style: {
- marginTop: '10px',
- marginBottom: '15px',
},
}, [
h('h3.flex-row.text-transform-uppercase', {