-
-
Notifications
You must be signed in to change notification settings - Fork 200
fix(theme): OverviewGroup and title margin #2699
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
✅ Deploy Preview for rspress-v2 ready!
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 adds styling improvements for the documentation layout and overview components, including h5/h6 heading styles, word-breaking behavior, and a refactored conditional for the outline display.
- Added styles for h5 and h6 headings in documentation content
- Applied
word-break: break-allto overview group titles and items to prevent overflow - Refactored the outline display conditional logic in DocLayout
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| packages/core/src/theme/layout/DocLayout/index.tsx | Refactored conditional rendering logic for the outline sidebar |
| packages/core/src/theme/components/Overview/OverviewGroup.scss | Added word-break styling to prevent text overflow in titles and content items |
| packages/core/src/theme/components/DocContent/doc.scss | Added h5 and h6 heading styles for consistent typography |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
fix: OverviewGroup and title margin
Related Issue
Checklist