diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-07-17 08:09:57 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-07-17 12:45:24 +0800 |
commit | 4737ea49c72b24a712b7c3215bed93383ce3ad81 (patch) | |
tree | e961e046b8b886e909b65c9edc5fd0654b56650d /ui/app/components | |
parent | db4469794e3e843f3cb08222d0a9b568c7816a85 (diff) | |
download | tangerine-wallet-browser-4737ea49c72b24a712b7c3215bed93383ce3ad81.tar tangerine-wallet-browser-4737ea49c72b24a712b7c3215bed93383ce3ad81.tar.gz tangerine-wallet-browser-4737ea49c72b24a712b7c3215bed93383ce3ad81.tar.bz2 tangerine-wallet-browser-4737ea49c72b24a712b7c3215bed93383ce3ad81.tar.lz tangerine-wallet-browser-4737ea49c72b24a712b7c3215bed93383ce3ad81.tar.xz tangerine-wallet-browser-4737ea49c72b24a712b7c3215bed93383ce3ad81.tar.zst tangerine-wallet-browser-4737ea49c72b24a712b7c3215bed93383ce3ad81.zip |
Increase clickable area and padding of Retry Transaction bar
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/tx-list-item.js | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/ui/app/components/tx-list-item.js b/ui/app/components/tx-list-item.js index e539514ec..0d693b805 100644 --- a/ui/app/components/tx-list-item.js +++ b/ui/app/components/tx-list-item.js @@ -307,20 +307,16 @@ TxListItem.prototype.render = function () { ]), ]), - this.showRetryButton() && h('div.tx-list-item-retry-container', [ - - h('span.tx-list-item-retry-copy', 'Taking too long?'), - - h('span.tx-list-item-retry-link', { - onClick: (event) => { - event.stopPropagation() - if (isTokenTx) { - this.setSelectedToken(txParams.to) - } - this.resubmit() - }, - }, 'Increase the gas price on your transaction'), - + this.showRetryButton() && h('.tx-list-item-retry-container', { + onClick: (event) => { + event.stopPropagation() + if (isTokenTx) { + this.setSelectedToken(txParams.to) + } + this.resubmit() + }, + }, [ + h('span', 'Taking too long? Increase the gas price on your transaction'), ]), ]), // holding on icon from design |