aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2018-10-11 03:37:40 +0800
committerDan Miller <danjm.com@gmail.com>2018-12-04 11:36:05 +0800
commitaa798cc54557f0740c3e9ab3f7bc85bccdc8abc3 (patch)
treea224220c3aa558125c34fd7e35d817e70b443375 /ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js
parentcd32c58fb4bcd731d8a83d354c9b01a38c8df219 (diff)
downloaddexon-wallet-aa798cc54557f0740c3e9ab3f7bc85bccdc8abc3.tar.gz
dexon-wallet-aa798cc54557f0740c3e9ab3f7bc85bccdc8abc3.tar.zst
dexon-wallet-aa798cc54557f0740c3e9ab3f7bc85bccdc8abc3.zip
Add control arrows to advanced gas tab inputs.
Diffstat (limited to 'ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js')
-rw-r--r--ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js b/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js
index 4dd18ce2..b9ae9368 100644
--- a/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js
+++ b/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js
@@ -29,6 +29,10 @@ export default class AdvancedTabContent extends Component {
precision={precision}
onChange={event => onChange(Number(event.target.value))}
/>
+ <div className="advanced-tab__gas-edit-row__input-arrows">
+ <div className="advanced-tab__gas-edit-row__input-arrows__i-wrap"><i className="fa fa-sm fa-angle-up" onClick={() => onChange(value + 1)} /></div>
+ <div className="advanced-tab__gas-edit-row__input-arrows__i-wrap"><i className="fa fa-sm fa-angle-down" onClick={() => onChange(value - 1)} /></div>
+ </div>
</div>
)
}