Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix positioning bug on relative elements #23

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

El4a
Copy link

@El4a El4a commented Nov 13, 2018

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 :)

@chrisdavies
Copy link
Owner

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants