-
-
Notifications
You must be signed in to change notification settings - Fork 51k
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: fix the flex gap problem #48522
Conversation
Run & review this pull request in StackBlitz Codeflow. |
👁 Visual Regression Report for PR #48522 Passed ✅
🎊 Congrats! No visual-regression diff found. |
Smooth again. 🥳 Upload.-.Ant.Design.18.-.-.Microsoft.Edge.2024-04-18.00-49-18.mp4 |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #48522 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 744 744
Lines 12883 12883
Branches 3369 3369
=========================================
Hits 12883 12883 ☔ View full report in Codecov by Sentry. |
height: 0, | ||
padding: 0, | ||
opacity: 0, | ||
margin: `calc(${token.marginXS} / -2)`, |
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.
token.calc(token.marginXS).div(-2).equal()
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.
数值模式下会直接计算
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.
So should I make a new PR for this?
中文版模板 / Chinese template
🤔 This is a ...
🔗 Related issue link
#48505
💡 Background and solution
Related to PR #48091.
Css attribute
gap
inflex
item still takes effect when the DOMelement
size is set to 0. Setting a negative margin can solve this problem.📝 Changelog
upload
组件图片卡的动画效果☑️ Self-Check before Merge