aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/customize-gas-modal/index.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-27 02:43:49 +0800
committerDan <danjm.com@gmail.com>2018-03-27 02:43:49 +0800
commit4f0881e41be82de28ae6a444f54123b0ee2a04a0 (patch)
treedc8e623792f60ddc8309766515cab7d8f89ae89a /ui/app/components/customize-gas-modal/index.js
parent35baff15aa181a5ec647d5738c027c8ba1ee9285 (diff)
parent4efb1c6b491901cbb42ef27a4c6c55814f24d764 (diff)
downloadtangerine-wallet-browser-4f0881e41be82de28ae6a444f54123b0ee2a04a0.tar.gz
tangerine-wallet-browser-4f0881e41be82de28ae6a444f54123b0ee2a04a0.tar.zst
tangerine-wallet-browser-4f0881e41be82de28ae6a444f54123b0ee2a04a0.zip
Merge branch 'master' into i18n-translator-redux
Diffstat (limited to 'ui/app/components/customize-gas-modal/index.js')
-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 1ea64de27..8234f8d19 100644
--- a/ui/app/components/customize-gas-modal/index.js
+++ b/ui/app/components/customize-gas-modal/index.js
@@ -301,12 +301,16 @@ CustomizeGasModal.prototype.render = function () {
}, [this.props.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',
+ },
}, [this.props.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',
}, [this.props.t('save')]),
]),