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 vars for customizing zoo-tooltip #37

Open
mpad0x55 opened this issue Feb 28, 2022 · 2 comments
Open

CSS vars for customizing zoo-tooltip #37

mpad0x55 opened this issue Feb 28, 2022 · 2 comments

Comments

@mpad0x55
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Current styling for zoo-tooltip is not always versatile enough and it would be good to have some control over it by CSS vars.

image
image

Describe the solution you'd like
Expose CSS variables for positioning tooltip top/bottom and the tick (for completeness)

@GeorgeTailor
Copy link
Contributor

what about position attribute? https://zooplus.github.io/zoo-web-components-docs/#tooltip

@mpad0x55
Copy link
Collaborator Author

mpad0x55 commented Mar 7, 2022

It has position attribute set:
image

In general the bottom: 170% works fine, but we have cases like on the screenshot or when something is wrapped into 2 lines (column header) then the distance between tooltip and text seems to be too big.

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