IsEarthStillWarming.com icon indicating copy to clipboard operation
IsEarthStillWarming.com copied to clipboard

Display tooltip with full citation using react-tooltip

Open miluoshi opened this issue 6 years ago • 4 comments

fixes #6

miluoshi avatar Oct 19 '19 13:10 miluoshi

It looks like you didn't add the tooltip package to package.json. Please run npm i react-tooltip and commit the results :slightly_smiling_face:

rosslh avatar Oct 23 '19 12:10 rosslh

Oh sorry, forgot to add it. Will do 🙂

miluoshi avatar Oct 23 '19 17:10 miluoshi

Awesome stuff. I am having an issue where the first two citations don't have a tooltip displaying. Are you able to reproduce this issue?

Also can you change the tooltip type attribute to "light"? I just think it looks a little nicer

rosslh avatar Oct 24 '19 15:10 rosslh

I tried "light" color, but it had a terrible readability. "dark" looks much better.

The problem with first 2 tooltips persists on deployed instance, but I can't reproduce it locally... strange.

miluoshi avatar Dec 12 '19 20:12 miluoshi