-
Notifications
You must be signed in to change notification settings - Fork 30
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(Tip): Fixes hover gap and click issues with ToolTips and PreviewTips #3018
Conversation
View your CI Pipeline Execution ↗ for commit 9406a9d. ☁️ Nx Cloud last updated this comment at |
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.
LGTM!
@@ -28,6 +28,7 @@ export const raisedDivVariants = variant({ | |||
}, | |||
}); | |||
|
|||
const borderStyles = { borderColor: 'secondary', border: 1 } as const; |
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 don't think you need borderColor: 'secondary'
border: 1 should already be: 1px solid ${colors['border-primary']}
see: https://github.com/Codecademy/gamut/blob/main/packages/gamut-styles/src/themes/core.ts
and border-primary and secondary both use navy-800
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.
good eye! will fix
* fix: ToolTip single word wrap * fixed it * fix floating tip * revert test code
📬Published Alpha Packages:@codecademy/[email protected] |
🚀 Styleguide deploy preview ready! |
Overview
Fix hover gap and click tooltip bugs on
floating
tooltipsPR Checklist
Testing Instructions
/docs/molecules-tips-tooltip--docs#floating-placement
PR Links and Envs