diff options
author | Sean <rabautse@gmail.com> | 2018-09-16 03:22:10 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-09-16 03:22:10 +0800 |
commit | cd28dbb1d5400589347d1ed868ed5d20f9b2f9aa (patch) | |
tree | 9e71ddb3ab003db28bd9594c3a7a0edf34655739 /ui/app/components | |
parent | 9ad3fa80f33a9ec95e31ef5789e8b089eee953ab (diff) | |
download | tangerine-wallet-browser-cd28dbb1d5400589347d1ed868ed5d20f9b2f9aa.tar tangerine-wallet-browser-cd28dbb1d5400589347d1ed868ed5d20f9b2f9aa.tar.gz tangerine-wallet-browser-cd28dbb1d5400589347d1ed868ed5d20f9b2f9aa.tar.bz2 tangerine-wallet-browser-cd28dbb1d5400589347d1ed868ed5d20f9b2f9aa.tar.lz tangerine-wallet-browser-cd28dbb1d5400589347d1ed868ed5d20f9b2f9aa.tar.xz tangerine-wallet-browser-cd28dbb1d5400589347d1ed868ed5d20f9b2f9aa.tar.zst tangerine-wallet-browser-cd28dbb1d5400589347d1ed868ed5d20f9b2f9aa.zip |
Improvement: Increase click area for arrows (#5264)
Diffstat (limited to 'ui/app/components')
-rw-r--r-- | ui/app/components/input-number.js | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/ui/app/components/input-number.js b/ui/app/components/input-number.js index 59c6842ef..eec5e3740 100644 --- a/ui/app/components/input-number.js +++ b/ui/app/components/input-number.js @@ -66,13 +66,16 @@ InputNumber.prototype.render = function () { }), h('span.gas-tooltip-input-detail', {}, [unitLabel]), h('div.gas-tooltip-input-arrows', {}, [ - h('i.fa.fa-angle-up', { + h('div.gas-tooltip-input-arrow-wrapper', { onClick: () => this.setValue(addCurrencies(value, step, { toNumericBase: 'dec' })), - }), - h('i.fa.fa-angle-down', { - style: { cursor: 'pointer' }, + }, [ + h('i.fa.fa-angle-up'), + ]), + h('div.gas-tooltip-input-arrow-wrapper', { onClick: () => this.setValue(subtractCurrencies(value, step, { toNumericBase: 'dec' })), - }), + }, [ + h('i.fa.fa-angle-down'), + ]), ]), ]) } |