statgen / locuszoom

A Javascript/d3 embeddable plugin for interactively visualizing statistical genetic data from customizable sources.
https://statgen.github.io/locuszoom/
MIT License
154 stars 29 forks source link

Let tooltip content flow around close button (x) #94

Closed pjvandehaar closed 7 years ago

pjvandehaar commented 7 years ago

This is gross and I will improve it but it works well.

Frencil commented 7 years ago

If you're going to go down this road just make sure to take a look at the lz-tooltip-close-button class (in locuszoom.scss) so we're not defining classes that get immediately overridden with inline styling.

And again, warning about arbitrary HTML content... try to feed some HTML to a tool tip with a close button done up this way that has some arbitrary floated elements. Can you make it clash-proof?

Frencil commented 7 years ago

This one should be ready now - needed relative positioning and margins