diff options
author | Thomas Huang <tmashuang@users.noreply.github.com> | 2018-03-28 04:28:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 04:28:58 +0800 |
commit | 8648aee907bb67e4a0e80ee6f67562046f302ef5 (patch) | |
tree | fa24bed0df96260e0271f93d3f99977613e6a566 /ui/app/components/customize-gas-modal/index.js | |
parent | 775275e1387c140fabb3ddbef5544af0dcbc4df0 (diff) | |
parent | 0fe0d8b7a5ec3a143ece38df4d0811b6de02b63f (diff) | |
download | tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.tar tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.tar.gz tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.tar.bz2 tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.tar.lz tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.tar.xz tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.tar.zst tangerine-wallet-browser-8648aee907bb67e4a0e80ee6f67562046f302ef5.zip |
Merge branch 'master' into selenium-e2e
Diffstat (limited to 'ui/app/components/customize-gas-modal/index.js')
-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')]), ]), |