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

CSS of tooltip can be inconsistent #1

Open
beard7 opened this issue Oct 3, 2024 · 3 comments
Open

CSS of tooltip can be inconsistent #1

beard7 opened this issue Oct 3, 2024 · 3 comments

Comments

@beard7
Copy link

beard7 commented Oct 3, 2024

Hi

Thanks for this. I was looking for a quick way to implement tooltips without having to write my own direcive and this seems to be the best I've come across.

However, I've noticed that the CSS of the tooltip can be affected by the element on which it is used. For example, the font weight seems to pick up that of the underlying element. Also the height may change if the element is in a flex container, for example.

Also, the width of full-width block elements may 'shrink' when the tooltip directive is used.

Maybe I'm doing somethng wrong?

@neluckoff
Copy link
Owner

Hi! Yes, at the moment the tooltips have such a flaw, but already on the weekend I will release a new version, where these tooltips will work in a new way, via teleport.

@beard7
Copy link
Author

beard7 commented Oct 3, 2024

Thanks for the super-quick response. I'll stick with it then!

@beard7
Copy link
Author

beard7 commented Dec 11, 2024

Hi,

Just following up. I'm still in pretty early stages of my project, so I'm not in any major rush. Just curious if there's been any progress.

Cheers

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

No branches or pull requests

2 participants