mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Add a postion option for tool tip
This commit is contained in:
parent
9d577ea023
commit
53eefc1efc
@ -1,6 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## Current Master
|
||||
|
||||
- Fix formatting of ETH balance
|
||||
- Fix formatting of account details.
|
||||
|
||||
## 2.5.0 2016-06-29
|
||||
|
@ -39,6 +39,7 @@ EthBalanceComponent.prototype.renderBalance = function (value) {
|
||||
return (
|
||||
h(Tooltip, {
|
||||
title: value.balance,
|
||||
position: 'bottom',
|
||||
}, [
|
||||
h('.flex-column', {
|
||||
style: {
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user