chore: rm @-ms-viewport#55108
Conversation
|
|
Deploying ant-design-next with
|
| Latest commit: |
4236fa5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://efa0b4c4.ant-design-next.pages.dev |
| Branch Preview URL: | https://rm-nounknownatrules.ant-design-next.pages.dev |
👁 Visual Regression Report for PR #55108 Failed ❌
Important There are 2 diffs found in this PR: 🔄
|
📝 WalkthroughSummary by CodeRabbit
Walkthrough本次变更移除了 biome.json 中 suspicious 规则里的 noUnknownAtRules: off 配置,并在 CSS 重置中删除了 IE 专用的 @-ms-viewport 规则;其余配置与样式未改动。 Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (16)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying ant-design with
|
| Latest commit: |
4236fa5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://78a159ff.ant-design.pages.dev |
| Branch Preview URL: | https://rm-nounknownatrules.ant-design.pages.dev |
Summary of ChangesHello @thinkasany, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on code quality and maintenance by resolving a linting error related to an unknown CSS at-rule. It removes the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request correctly removes the obsolete @-ms-viewport CSS at-rule and enables the corresponding noUnknownAtRules lint rule in the Biome configuration. This is a good cleanup that improves code quality and consistency. I have one minor suggestion regarding the formatting in the CSS file.
| @-ms-viewport { | ||
| width: device-width; | ||
| } | ||
|
|
size-limit report 📦
|
More templates
commit: |
Bundle ReportChanges will decrease total bundle size by 7.91MB (-67.85%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: antd.min-array-pushAssets Changed:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #55108 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 793 793
Lines 14642 14642
Branches 3891 3891
=========================================
Hits 14642 14642 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| -ms-overflow-style: scrollbar; | ||
| -webkit-tap-highlight-color: rgba(0, 0, 0, 0); | ||
| } | ||
| @-ms-viewport { |
There was a problem hiding this comment.
嗯,所以这个没催你 +1,这个先挂起好了。
看起来用户想 reset 应该
<meta name="viewport" content="width=device-width, initial-scale=1.0">
标准一点
There was a problem hiding this comment.
感觉可以放在 v6,万一有 breaking change
There was a problem hiding this comment.
周一看看佬们怎么说吧,看起来这个也确实废弃很久了。如果保守一点的话,我到时候把这个 PR 改到 next 分支上。







🤔 This is a ...
💡 Background and Solution
https://developer.mozilla.org/zh-CN/docs/Web/CSS/CSS_syntax/At-rule
📝 Change Log