-
Notifications
You must be signed in to change notification settings - Fork 103
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
fix: Official Website Document UI anomaly #716
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #716 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 651 651
Lines 17771 17771
Branches 1113 1113
=========================================
Hits 17771 17771 ☔ View full report in Codecov by Sentry. |
[中文版模板 / Chinese template]
background and solution
是 import 'antd/es/style/reset.css'; 引入了 h1 {margin-bottom: 0.5em; } 从而导致污染全局样式的话。
对比两个pr的preivew,在677的时候都是好的,最后排查到
import 'antd/es/style/reset.css
的影响,试了一下打包后的dist用express.static去加载看了是好的,一会观察一下preivew。https://preview-664-ant-design-web3.surge.sh/components/icons
https://preview-677-ant-design-web3.surge.sh/course/introduction
🔗 Related issue link
close #700