Merge pull request #2080 from MetaMask/fix-tooltip

Fix position of tooltip to avoid overflow cutoff
feature/default_network_editable
Dan Finlay 7 years ago committed by GitHub
commit c463647ad7
  1. 1
      CHANGELOG.md
  2. 2
      ui/app/components/tooltip.js
  3. 2
      ui/app/components/transaction-list-item-icon.js
  4. 2
      ui/app/components/transaction-list-item.js

@ -7,6 +7,7 @@
- Changed state logs to a file download than a clipboard copy. - Changed state logs to a file download than a clipboard copy.
- Fixed a long standing memory leak associated with filters installed by dapps - Fixed a long standing memory leak associated with filters installed by dapps
- Fix link to support center. - Fix link to support center.
- Fixed tooltip icon locations to avoid overflow.
- Warn users when a dapp proposes a high gas limit (90% of blockGasLimit or higher) - Warn users when a dapp proposes a high gas limit (90% of blockGasLimit or higher)
## 3.10.0 2017-9-11 ## 3.10.0 2017-9-11

@ -17,6 +17,6 @@ Tooltip.prototype.render = function () {
return h(ReactTooltip, { return h(ReactTooltip, {
position: position || 'left', position: position || 'left',
title, title,
fixed: false, fixed: true,
}, children) }, children)
} }

@ -35,7 +35,7 @@ TransactionIcon.prototype.render = function () {
case 'submitted': case 'submitted':
return h(Tooltip, { return h(Tooltip, {
title: 'Pending', title: 'Pending',
position: 'bottom', position: 'right',
}, [ }, [
h('i.fa.fa-ellipsis-h', { h('i.fa.fa-ellipsis-h', {
style: { style: {

@ -65,7 +65,7 @@ TransactionListItem.prototype.render = function () {
h(Tooltip, { h(Tooltip, {
title: 'Transaction Number', title: 'Transaction Number',
position: 'bottom', position: 'right',
}, [ }, [
h('span', { h('span', {
style: { style: {

Loading…
Cancel
Save