-
Notifications
You must be signed in to change notification settings - Fork 2
C3DC-2063 #464
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
Conversation
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.
Pull request overview
This PR updates chart styling and typography in the Histogram component, adjusting font sizes, line heights, and spacing for both standard and expanded chart views. The changes also update the risk-table dependency to incorporate related improvements.
- Standardizes font sizes to 11px (standard view) and 13px (expanded view) with matching line heights
- Adds conditional spacing for specific datasets (race, treatmentType, response)
- Refactors inline styles to use CSS classes for better maintainability
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/pages/CohortAnalyzer/HistogramPanel/HistogramPopup.js | Updates expanded chart view with larger font sizes (13px) and adjusted bottom margin |
| src/pages/CohortAnalyzer/HistogramPanel/Histogram.js | Implements conditional styling for specific datasets and standardizes typography with configurable font properties |
| src/pages/CohortAnalyzer/HistogramPanel/CustomXAxisTick.js | Adds lineHeight and letterSpacing props to support new typography customization |
| package.json | Bumps @bento-core/risk-table dependency from 1.0.0-c3dc.2 to 1.0.0-c3dc.3 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
1 similar comment
amattu2
left a comment
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.
Code LGTM.
No description provided.