-
Notifications
You must be signed in to change notification settings - Fork 394
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
tooltip: do not use a div container for tooltips #913
tooltip: do not use a div container for tooltips #913
Conversation
Requesting review @shcheklein, not sure who's responsible for this repository. |
I can review this one. Thanks for addressing this bug BTW! |
I deployed a review app and I can confirm the cases we posted in blah are fixed 🎉 In https://dvc-landing-feature-870-lynvht.herokuapp.com/doc/command-reference/get#example-get-a-dvc-tracked-model-file:
In https://dvc-landing-feature-870-lynvht.herokuapp.com/doc/command-reference/gc#examples:
In https://dvc-landing-feature-870-lynvht.herokuapp.com/doc/command-reference/add#example-directory
|
@jorgeorpinel thanks for checking this out. What's next? |
@jorgeorpinel please feel free to approve and merge if you don't see any other issues. |
I was just waiting for your reply in #913 (review) Now we approve and merge it 🙂 |
🎆 first merge! |
This fixes the problem with Tooltips being misplaced on Chrome when the text which shows the Tooltip is on the left hand side of a
<p>
.This also fixes the annoying warnings from React that a
<div>
is being placed inside of a<p>
, because now it's a<span>
.Note: Currently, if the tooltip is too long, it won't line-break. This PR does not change this, and It's probably a non-issue for now.
Fix #870