diff options
author | Alexander Tseung <alextsg@users.noreply.github.com> | 2018-07-18 01:41:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-18 01:41:32 +0800 |
commit | 89911dda170e33d8d9ca2f29f2705ed446d4c0f2 (patch) | |
tree | d1ce281ab99e86123543b1c5ce8b4f3a8099e067 /ui/app/components | |
parent | 9a098a28e08d97a8cd94086ddd59bb19ccbcef54 (diff) | |
parent | 4737ea49c72b24a712b7c3215bed93383ce3ad81 (diff) | |
download | tangerine-wallet-browser-89911dda170e33d8d9ca2f29f2705ed446d4c0f2.tar tangerine-wallet-browser-89911dda170e33d8d9ca2f29f2705ed446d4c0f2.tar.gz tangerine-wallet-browser-89911dda170e33d8d9ca2f29f2705ed446d4c0f2.tar.bz2 tangerine-wallet-browser-89911dda170e33d8d9ca2f29f2705ed446d4c0f2.tar.lz tangerine-wallet-browser-89911dda170e33d8d9ca2f29f2705ed446d4c0f2.tar.xz tangerine-wallet-browser-89911dda170e33d8d9ca2f29f2705ed446d4c0f2.tar.zst tangerine-wallet-browser-89911dda170e33d8d9ca2f29f2705ed446d4c0f2.zip |
Merge pull request #4815 from MetaMask/i4783-retry
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 |