aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/customize-gas-modal
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-27 03:21:02 +0800
committerDan <danjm.com@gmail.com>2018-03-27 03:21:02 +0800
commit1779cff65b83a80de618ad350da1e5f1dee63f07 (patch)
tree0a0c498adadb4010bd2c2748ade61f6923520847 /ui/app/components/customize-gas-modal
parenta30b5ccd951e9a7b90cf7cd3a22c72cca1520275 (diff)
parent4efb1c6b491901cbb42ef27a4c6c55814f24d764 (diff)
downloadtangerine-wallet-browser-1779cff65b83a80de618ad350da1e5f1dee63f07.tar.gz
tangerine-wallet-browser-1779cff65b83a80de618ad350da1e5f1dee63f07.tar.zst
tangerine-wallet-browser-1779cff65b83a80de618ad350da1e5f1dee63f07.zip
Merge branch 'master' into i3326-addtokenscreendesignupdate
Diffstat (limited to 'ui/app/components/customize-gas-modal')
-rw-r--r--ui/app/components/customize-gas-modal/index.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/ui/app/components/customize-gas-modal/index.js b/ui/app/components/customize-gas-modal/index.js
index d8384c19d..22ad98ce4 100644
--- a/ui/app/components/customize-gas-modal/index.js
+++ b/ui/app/components/customize-gas-modal/index.js
@@ -302,12 +302,16 @@ CustomizeGasModal.prototype.render = function () {
}, [t('revert')]),
h('div.send-v2__customize-gas__buttons', [
- h('div.send-v2__customize-gas__cancel.allcaps', {
+ h('button.btn-secondary.send-v2__customize-gas__cancel', {
onClick: this.props.hideModal,
+ style: {
+ marginRight: '10px',
+ },
}, [t('cancel')]),
- h(`div.send-v2__customize-gas__save${error ? '__error' : ''}.allcaps`, {
+ h('button.btn-primary.send-v2__customize-gas__save', {
onClick: () => !error && this.save(newGasPrice, gasLimit, gasTotal),
+ className: error && 'btn-primary--disabled',
}, [t('save')]),
]),