1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Add a postion option for tool tip

This commit is contained in:
Frankie 2016-07-06 17:09:53 -07:00
parent 9d577ea023
commit 53eefc1efc
3 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,8 @@
# Changelog # Changelog
## Current Master ## Current Master
- Fix formatting of ETH balance
- Fix formatting of account details. - Fix formatting of account details.
## 2.5.0 2016-06-29 ## 2.5.0 2016-06-29

View File

@ -39,6 +39,7 @@ EthBalanceComponent.prototype.renderBalance = function (value) {
return ( return (
h(Tooltip, { h(Tooltip, {
title: value.balance, title: value.balance,
position: 'bottom',
}, [ }, [
h('.flex-column', { h('.flex-column', {
style: { style: {

View File

@ -14,7 +14,7 @@ Tooltip.prototype.render = function () {
const props = this.props const props = this.props
return h(ReactTooltip, { return h(ReactTooltip, {
position: 'left', position: props.position ? props.position : 'left',
title: props.title, title: props.title,
fixed: false, fixed: false,
}, props.children) }, props.children)