tlite icon indicating copy to clipboard operation
tlite copied to clipboard

Fix positioning bug on relative elements

Open El4a opened this issue 6 years ago • 1 comments

So basically the outer span (the original tlite) is given a width and this serves as a max-width for the new inner span. Doing it this way solves the positioning problem. All the positioning css remains on the tlite class, while the visual styling is moved to the inner class; that's all that changed mainly. I admit it may be a bit "hacky" but it does the trick and I haven't found any drawback yet.

If you don't like that's fine too, feel free to ditch this then :)

El4a avatar Nov 13 '18 13:11 El4a

Well, as you can see, I'm way behind on following up on any of my OSS libraries. I'll put this on the agenda! Thanks for putting a PR together!

chrisdavies avatar Jan 09 '19 13:01 chrisdavies