-
Notifications
You must be signed in to change notification settings - Fork 135
Increase font size #2485
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
Increase font size #2485
Conversation
✅ Deploy Preview for calico-docs-preview-next ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview succeeded!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
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 increases the font size of caption text in the SelectDocSet component from "sm" to "md", improving readability for product card descriptions displayed on the documentation homepage.
Changes:
- Updated fontSize prop from "sm" to "md" for the Text component displaying product captions
| {info.heading} | ||
| </Heading> | ||
| <Text fontSize="sm" color="gray.700"> | ||
| <Text fontSize="md" color="gray.700"> |
Copilot
AI
Jan 26, 2026
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 component lacks unit tests, which deviates from the established convention in this codebase. Similar components like SelectDocs (located at src/new/components/SelectDocs/test/index.test.tsx) have Jest snapshot tests. According to the repository's testing standards, all React components should have tests in test/ subdirectories with coverage thresholds of 85% branches/functions and 90% lines/statements. Consider adding a test file at src/new/components/SelectDocSet/test/index.test.tsx following the pattern used in SelectDocs.

Product Version(s):
Issue:
Link to docs preview:
SME review:
DOCS review:
Additional information:
Merge checklist: