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
feat: Grid support row vertical gutter #18979
feat: Grid support row vertical gutter #18979
Conversation
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.
Could you please add tests to make sure this change works as expected?
Deploy preview for ant-design ready! Built with commit 00f6b3a |
components/config-provider/__tests__/__snapshots__/components.test.js.snap
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## feature #18979 +/- ##
===========================================
+ Coverage 96.95% 96.95% +<.01%
===========================================
Files 281 281
Lines 7577 7593 +16
Branches 2116 2128 +12
===========================================
+ Hits 7346 7362 +16
Misses 229 229
Partials 2 2
Continue to review full report at Codecov.
|
for (let i = 0; i < responsiveArray.length; i++) { | ||
const breakpoint: Breakpoint = responsiveArray[i]; | ||
if (this.state.screens[breakpoint] && g[breakpoint] !== undefined) { | ||
gutter[index] = g[breakpoint] as number; |
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.
🤔 This is a ...
🔗 Related issue link
#16728
💡 Background and solution
Row添加垂直间距支持
📝 Changelog
☑️ Self Check before Merge
View rendered components/grid/demo/gutter.md
View rendered components/grid/demo/playground.md
View rendered components/grid/index.en-US.md
View rendered components/grid/index.zh-CN.md