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

add hint--fit support #197

Closed
chinchang opened this issue Oct 3, 2021 · 0 comments · Fixed by #198
Closed

add hint--fit support #197

chinchang opened this issue Oct 3, 2021 · 0 comments · Fixed by #198
Labels
enhancement good-first-issue If you are yet to contribute to open-source, this issue is a good starting point

Comments

@chinchang
Copy link
Owner

Suggested in #186

An extra tooltip size/width (fit) that equals to the target/element's width (like that in Balloon.css) could be added, too.

@chinchang chinchang added enhancement good-first-issue If you are yet to contribute to open-source, this issue is a good starting point labels Oct 3, 2021
aurium added a commit to aurium/hint.css that referenced this issue Oct 3, 2021
This patch adds the "hint--fit" class and also set "box-sizing: border-box" to all size related classes.

The "border-box" sizing will prevent border and padding stilization to overflow the parent limit.

closes chinchang#197
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good-first-issue If you are yet to contribute to open-source, this issue is a good starting point
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant