presciencelabs / tabitha-ontology

0 stars 0 forks source link

Add level description as a tooltip and move to the left. #2

Closed craigp-atw closed 6 months ago

craigp-atw commented 6 months ago

In addition to the level color, I think it's useful to display the description of the level for new users or those who aren't super familiar with the colors (like me). I made it a tooltip just like the 'Occurrences' one.

I also moved both tooltips to the left side because I noticed they were being cut-off at the edge of the page or obstructed by the neighboring card. If there's a better way to deal with that I'm happy to change it.

After: Showing level 2 tooltip image

Before: 'Occurrences' tooltip being cut off on the right image

After: 'Occurrences' tooltip now showing on the left image

cloudflare-pages[bot] commented 6 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: f7f1cf1
Status: ✅  Deploy successful!
Preview URL: https://6ec96d3f.ontology-3gq.pages.dev
Branch Preview URL: https://add-level-description-toolti.ontology-3gq.pages.dev

View logs