Skip to content

fix: add tooltip length - #1192

Merged
jczhong84 merged 1 commit into
pinterest:masterfrom
jczhong84:fix/tooltip
Mar 9, 2023
Merged

jczhong84 merged 1 commit into
pinterest:masterfrom
jczhong84:fix/tooltip

Conversation

@jczhong84

@jczhong84 jczhong84 commented Mar 8, 2023 •

Copy link
Copy Markdown
Collaborator

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

@suryabhaskarkarri suryabhaskarkarri left a comment •

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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.

3 participants