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:
parent
9d577ea023
commit
53eefc1efc
@ -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
|
||||||
|
@ -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: {
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user