fix: update genStyleUtils to correct linkStyle#52888
fix: update genStyleUtils to correct linkStyle#52888afc163 merged 3 commits intoant-design:masterfrom
Conversation
|
|
👁 Visual Regression Report for PR #52888 Passed ✅
🎊 Congrats! No visual-regression diff found.
|
WalkthroughThis pull request addresses a bug fix by updating the Changes
|
| }, | ||
| getResetStyles: (token, config) => [ | ||
| { '&': genLinkStyle(token) }, | ||
| genLinkStyle(token), |
There was a problem hiding this comment.
The removal of the & wrapper from genLinkStyle is a crucial fix to avoid unnecessary nested selectors, which could lead to incorrect styling of links. This change ensures that the link styles are applied correctly without additional nesting.
More templates
commit: |
Bundle ReportChanges will increase total bundle size by 6.26MB (185.07%) ⬆️
Affected Assets, Files, and Routes:view changes for bundle: antd.min-array-pushAssets Changed:
Files in
Files in
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #52888 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 768 768
Lines 13847 13849 +2
Branches 3629 3629
=========================================
+ Hits 13847 13849 +2 ☔ View full report in Codecov by Sentry. |
|
diff 看起来不太对,anchor 那些全都加上下划线了。https://antd-visual-diff.oss-accelerate.aliyuncs.com/pr-52888/visualRegressionReport/report.html |
哦,我的,我下午回去检查一下 |
|
@DDDDD12138, |
* fix: update genStyleUtils to correct linkStyle * feat: compatible with the "a" tag inside the element --------- Co-authored-by: thinkasany <480968828@qq.com>





中文版模板 / Chinese template
🤔 This is a ...
🔗 Related Issues
fix: #52879
💡 Background and Solution
Add styles to ensure that the basic
atag styles can be applied when theatag is already the outermost antd component element.example:
a:where(.css-dev-only-do-not-override-xxxx)📝 Change Log