-
Notifications
You must be signed in to change notification settings - Fork 246
fix: Update tooltip to add spacing when element has focus #3707
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
base: support
Are you sure you want to change the base?
fix: Update tooltip to add spacing when element has focus #3707
Conversation
Workday/canvas-kit
|
||||||||||||||||||||||||||||||||||||||||
| Project |
Workday/canvas-kit
|
| Branch Review |
mc-fix-tooltio-spacing
|
| Run status |
|
| Run duration | 02m 59s |
| Commit |
|
| Committer | Manuel Carrera |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
21
|
|
|
0
|
|
|
936
|
| View all changes introduced in this branch ↗︎ | |
UI Coverage
20.52%
|
|
|---|---|
|
|
1443
|
|
|
370
|
Accessibility
99.28%
|
|
|---|---|
|
|
6 critical
5 serious
0 moderate
2 minor
|
|
|
98
|
| padding: calc.subtract(system.space.x4, calc.divide(system.space.x1, 2)), | ||
| '&:before': { | ||
| margin: calc.add(system.space.x1, calc.divide(system.space.x1, 2)), | ||
| }, |
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.
Comment: I never realized this was the logic to get the padding and margin. That's a very complex way to say:
padding: 14px
margin: 6px
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.
This was the styling logic before, so I'm not asking for a change here.
Summary
Update logic in tooltip to check if the target has focus visible to add a little extra spacing
Release Category
Components
Release Note
Update logic in tooltip to check if the target has focus visible to add a little extra spacing
Checklist
ready for reviewhas been added to PRFor the Reviewer
Where Should the Reviewer Start?
Areas for Feedback? (optional)
Testing Manually
Screenshots or GIFs (if applicable)
Thank You Gif (optional)