-
-
Notifications
You must be signed in to change notification settings - Fork 47k
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
site: optimize site style in mobile #43895
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run & review this pull request in StackBlitz Codeflow. |
size-limit report 📦
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #43895 +/- ##
===========================================
+ Coverage 99.98% 100.00% +0.01%
===========================================
Files 659 657 -2
Lines 11850 11076 -774
Branches 3307 2996 -311
===========================================
- Hits 11848 11076 -772
+ Misses 2 0 -2
☔ View full report in Codecov by Sentry. |
zombieJ
reviewed
Jul 30, 2023
zombieJ
approved these changes
Jul 30, 2023
yoyo837
pushed a commit
that referenced
this pull request
Jul 30, 2023
* site: ptimize site style in mobile * fix
li-jia-nan
added a commit
that referenced
this pull request
Jul 30, 2023
* site: optimize site style in mobile (#43895) * site: ptimize site style in mobile * fix * fix: 合并冲突时注释错行 --------- Co-authored-by: lijianan <574980606@qq.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
☑️ Self-Check before Merge
🚀 Summary
🤖 Generated by Copilot at 3d95480
Improved the mobile responsiveness and readability of the documentation theme and refactored some components for consistency and clarity. Annotated some components with
React.FC
type and removed unnecessary whitespace incomponents/modal/useModal/index.tsx
.🔍 Walkthrough
🤖 Generated by Copilot at 3d95480
ComponentItem
andAuthorAvatar
components withReact.FC
type for better type checking and readability (link, link)Breadcrumb
component to useitems
prop instead ofchildren
prop for conciseness and consistency (link)useContext
hook andSiteContext
to accessisMobile
value and conditionally render prev and next navigation links inPrevAndNext
component (link, link, link)listMobile
style and apply it toContributorsList
component based onisMobile
value inContent
component (link, link, link)if
statements with braces and new lines inContent
component for readability and consistency (link)useModal
component to remove unnecessary whitespace (link)Content
component (link)