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: add tooltip length #1192

Merged
merged 1 commit into from
Mar 9, 2023
Merged

Conversation

jczhong84
Copy link
Collaborator

@jczhong84 jczhong84 commented Mar 8, 2023

Issue
For long tag tooltips, it is always in single line and will be cut by the table view modal.

Fix
Querybook is using Balloon.css for tooltips, it acutally supports the length property data-balloon-length which can help with this issue.

before:
Snip20230308_8
after:
image

Copy link
Contributor

@suryabhaskarkarri suryabhaskarkarri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add screenshot of how the tooltip would appear for large, small lengths ?

@jczhong84
Copy link
Collaborator Author

can you add screenshot of how the tooltip would appear for large, small lengths ?

added two screenshots as before and after.

for other sizes, you may check the official site Balloon.css to see the differences.

@jczhong84 jczhong84 merged commit 25b1895 into pinterest:master Mar 9, 2023
@jczhong84 jczhong84 deleted the fix/tooltip branch April 7, 2023 00:41
rohan-sh1 pushed a commit to CAI-TECHNOLOGIES/cai-ext-db-explorer that referenced this pull request Apr 11, 2023
aidenprice pushed a commit to arrowtail-precision/querybook that referenced this pull request Jan 3, 2024
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.

None yet

3 participants