diff options
author | Dan <danjm.com@gmail.com> | 2018-03-27 03:21:02 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-03-27 03:21:02 +0800 |
commit | 1779cff65b83a80de618ad350da1e5f1dee63f07 (patch) | |
tree | 0a0c498adadb4010bd2c2748ade61f6923520847 /ui/app/components/customize-gas-modal | |
parent | a30b5ccd951e9a7b90cf7cd3a22c72cca1520275 (diff) | |
parent | 4efb1c6b491901cbb42ef27a4c6c55814f24d764 (diff) | |
download | tangerine-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.js | 8 |
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')]), ]), |