aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-07-30 14:09:49 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-07-30 14:09:49 +0800
commit9373ba9f381f390be7e8d88057c0c6f1a97a27f8 (patch)
treea9adc2a92ffbd5a4b14ee1a4200f2b2ad433fa3d /ui
parentf368f371c29699f277b8c91ad8a6284a3b451223 (diff)
downloadtangerine-wallet-browser-9373ba9f381f390be7e8d88057c0c6f1a97a27f8.tar.gz
tangerine-wallet-browser-9373ba9f381f390be7e8d88057c0c6f1a97a27f8.tar.zst
tangerine-wallet-browser-9373ba9f381f390be7e8d88057c0c6f1a97a27f8.zip
Move action buttons out of send token container, tweak styles
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pending-tx.js78
1 files changed, 40 insertions, 38 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js
index eae9046a8..ede561bd2 100644
--- a/ui/app/components/pending-tx.js
+++ b/ui/app/components/pending-tx.js
@@ -304,6 +304,7 @@ PendingTx.prototype.render = function () {
marginRight: '10px',
paddingLeft: '6px',
paddingRight: '6px',
+ marginBottom: '10px',
}
}, [
h('div', {
@@ -315,6 +316,7 @@ PendingTx.prototype.render = function () {
style: {
textAlign: 'left',
fontSize: '12px',
+ marginBottom: '-10px',
}
}, [
'Total Tokens'
@@ -353,46 +355,46 @@ PendingTx.prototype.render = function () {
])
]),
- sectionDivider,
-
- h('form#pending-tx-form', {
- onSubmit: this.onSubmit.bind(this),
- }, [
- // Reset Button
- // h('button', {
- // onClick: (event) => {
- // this.resetGasFields()
- // event.preventDefault()
- // },
- // }, 'Reset'),
-
- // Accept Button
- h('input.confirm.btn-green', {
- type: 'submit',
- value: 'SUBMIT',
- style: {
- color: '#FFFFFF',
- borderRadius: '2px';
- fontSize: '12px',
- lineHeight: '20px',
- textAlign: 'center',
- },
- disabled: insufficientBalance || !this.state.valid || !isValidAddress || this.state.submitting,
- }),
+ ]), // end of container
- // Cancel Button
- h('button.cancel.btn-light', {
- style: {
- background: '#F7F7F7', // $alabaster
- border: 'none',
- opacity: 1,
- width: '8em',
- },
- onClick: props.cancelTransaction,
- }, 'Reject'),
- ]),
+ h('form#pending-tx-form.flex-column.flex-center', {
+ onSubmit: this.onSubmit.bind(this),
+ }, [
+ // Reset Button
+ // h('button', {
+ // onClick: (event) => {
+ // this.resetGasFields()
+ // event.preventDefault()
+ // },
+ // }, 'Reset'),
+
+ // Accept Button
+ h('input.confirm.btn-green', {
+ type: 'submit',
+ value: 'SUBMIT',
+ style: {
+ marginTop: '8px',
+ width: '8em',
+ color: '#FFFFFF',
+ borderRadius: '2px',
+ fontSize: '12px',
+ lineHeight: '20px',
+ textAlign: 'center',
+ },
+ disabled: insufficientBalance || !this.state.valid || !isValidAddress || this.state.submitting,
+ }),
- ]) // end of main container
+ // Cancel Button
+ h('button.cancel.btn-light', {
+ style: {
+ background: '#F7F7F7', // $alabaster
+ border: 'none',
+ opacity: 1,
+ width: '8em',
+ },
+ onClick: props.cancelTransaction,
+ }, 'Reject'),
+ ]),
]) // end of minwidth wrapper
)
}