From 2880f8631c4de09860b2be01c90b4b30d08c8415 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Wed, 29 Jun 2016 16:21:38 -0700 Subject: Unify tooltip styles Made a local tooltip component for replicating our tooltip styles wherever we use tooltips. Applied that tooltip to other items that had tooltips. --- ui/app/components/copyButton.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ui/app/components/copyButton.js') diff --git a/ui/app/components/copyButton.js b/ui/app/components/copyButton.js index 182d7a670..a01603585 100644 --- a/ui/app/components/copyButton.js +++ b/ui/app/components/copyButton.js @@ -3,7 +3,7 @@ const h = require('react-hyperscript') const inherits = require('util').inherits const copyToClipboard = require('copy-to-clipboard') -const Tooltip = require('react-tooltip-component') +const Tooltip = require('./tooltip') module.exports = CopyButton @@ -32,7 +32,6 @@ CopyButton.prototype.render = function () { }, [ h(Tooltip, { - position: 'top', title: message, }, [ h('i.fa.fa-clipboard.cursor-pointer.color-orange', { -- cgit