aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorFrankie <frankie.pangilinan@consensys.net>2016-07-07 08:09:53 +0800
committerFrankie <frankie.pangilinan@consensys.net>2016-07-07 08:12:33 +0800
commit53eefc1efc65c138c8692bb069ae64e5eae9942b (patch)
treec8169ebbe1e2dba3158df1b104f82688a9681d11 /ui/app
parent9d577ea0231802279ea0070a598f7dea9637f652 (diff)
downloadtangerine-wallet-browser-53eefc1efc65c138c8692bb069ae64e5eae9942b.tar
tangerine-wallet-browser-53eefc1efc65c138c8692bb069ae64e5eae9942b.tar.gz
tangerine-wallet-browser-53eefc1efc65c138c8692bb069ae64e5eae9942b.tar.bz2
tangerine-wallet-browser-53eefc1efc65c138c8692bb069ae64e5eae9942b.tar.lz
tangerine-wallet-browser-53eefc1efc65c138c8692bb069ae64e5eae9942b.tar.xz
tangerine-wallet-browser-53eefc1efc65c138c8692bb069ae64e5eae9942b.tar.zst
tangerine-wallet-browser-53eefc1efc65c138c8692bb069ae64e5eae9942b.zip
Add a postion option for tool tip
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/components/eth-balance.js1
-rw-r--r--ui/app/components/tooltip.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/eth-balance.js b/ui/app/components/eth-balance.js
index 0294d0d9f..510b620f3 100644
--- a/ui/app/components/eth-balance.js
+++ b/ui/app/components/eth-balance.js
@@ -39,6 +39,7 @@ EthBalanceComponent.prototype.renderBalance = function (value) {
return (
h(Tooltip, {
title: value.balance,
+ position: 'bottom',
}, [
h('.flex-column', {
style: {
diff --git a/ui/app/components/tooltip.js b/ui/app/components/tooltip.js
index 4eab8611e..fb67c717e 100644
--- a/ui/app/components/tooltip.js
+++ b/ui/app/components/tooltip.js
@@ -14,7 +14,7 @@ Tooltip.prototype.render = function () {
const props = this.props
return h(ReactTooltip, {
- position: 'left',
+ position: props.position ? props.position : 'left',
title: props.title,
fixed: false,
}, props.children)