1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 03:12:42 +02: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
## Current Master
- Fix formatting of ETH balance
- Fix formatting of account details.
## 2.5.0 2016-06-29

View File

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

View File

@ -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)