aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/customize-gas-modal
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-03-26 13:19:42 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-03-26 13:58:04 +0800
commitcfa2592d78b31ea3c5d056bf1344cfd5d5353f16 (patch)
tree6af1ada572dfc6d7a9a9b0c69a7a3ecfc834b3d9 /ui/app/components/customize-gas-modal
parentdc78594c3aac80150dbe7eecd05e05eeffa6da02 (diff)
downloadtangerine-wallet-browser-cfa2592d78b31ea3c5d056bf1344cfd5d5353f16.tar
tangerine-wallet-browser-cfa2592d78b31ea3c5d056bf1344cfd5d5353f16.tar.gz
tangerine-wallet-browser-cfa2592d78b31ea3c5d056bf1344cfd5d5353f16.tar.bz2
tangerine-wallet-browser-cfa2592d78b31ea3c5d056bf1344cfd5d5353f16.tar.lz
tangerine-wallet-browser-cfa2592d78b31ea3c5d056bf1344cfd5d5353f16.tar.xz
tangerine-wallet-browser-cfa2592d78b31ea3c5d056bf1344cfd5d5353f16.tar.zst
tangerine-wallet-browser-cfa2592d78b31ea3c5d056bf1344cfd5d5353f16.zip
Update button styles
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')]),
]),