-
Notifications
You must be signed in to change notification settings - Fork 116
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 visual refresh #2603
Tooltip visual refresh #2603
Conversation
🦋 Changeset detectedLatest commit: 921a5f2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the cleanup 👍🏻
Co-authored-by: Jon Rohan <rohan@github.com>
:host:after{ | ||
position: absolute; | ||
display: block; | ||
right: 0; | ||
left: 0; | ||
height: 12px; | ||
content: ""; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need this too keep the tooltip open when cursor leaves the trigger to hover the tooltip text.
:host(.tooltip-s):after, | ||
:host(.tooltip-se):after, | ||
:host(.tooltip-sw):after { | ||
bottom: 100% | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these ::after classes are still needed to position the empty content that I mentioned here about hovering the tooltip text
:host(.tooltip-n):after, | ||
:host(.tooltip-ne):after, | ||
:host(.tooltip-nw):after { | ||
top: 100%; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: langermank <langermank@users.noreply.github.com> Co-authored-by: Jon Rohan <rohan@github.com> Co-authored-by: Cameron Dutro <camertron@gmail.com> Co-authored-by: camertron <camertron@users.noreply.github.com>
Authors: Please fill out this form carefully and completely.
Reviewers: By approving this Pull Request you are approving the code change, as well as its deployment and mitigation plans.
Please read this description carefully. If you feel there is anything unclear or missing, please ask for updates.
What are you trying to accomplish?
Match the updated design we're drafting in Primer React. Check out the design docs for more details.
Integration
Bump PCSS
Risk Assessment
Merge checklist
Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.