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
Card 组件在仅传入 extra 时样式异常 #39643
Comments
对比了下v4中的extra也会有padding,v5是忘了加上样式还是设计如此? |
简单的读了下 Card 的 style, 声明处存在两个 height token: ant-design/components/card/style/index.tsx Lines 9 to 21 in 1ce7d3a
在使用时使用的是 ant-design/components/card/style/index.tsx Lines 36 to 38 in 1ce7d3a
但是有值的 token 应该是 ant-design/components/card/style/index.tsx Lines 383 to 387 in 1ce7d3a
|
追溯了一下, 两个 height token 声明分别来自 @MadCcc 和 @miracles1919 |
Reproduction link
Steps to reproduce
打开链接, 无需操作
What is expected?
卡片头部应该有一定的高度或边距
What is actually happening?
extra 插入的元素上下贴边
The text was updated successfully, but these errors were encountered: