mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-20 01:41:51 +08:00
fix: Fix fails when using tabs minHeight inside the small card (#48787)
* fix: Fix fails when using small tabs minHeight inside the card * test: del test case * Update components/card/style/index.ts Co-authored-by: lijianan <574980606@qq.com> Signed-off-by: Wanpan <wanpan96@163.com> * fix: update style --------- Signed-off-by: Wanpan <wanpan96@163.com> Co-authored-by: lijianan <574980606@qq.com>
This commit is contained in:
parent
e6c4123a84
commit
73adedbfab
@ -364,7 +364,7 @@ const genCardStyle: GenerateStyle<CardToken> = (token): CSSObject => {
|
|||||||
},
|
},
|
||||||
|
|
||||||
[`${componentCls}-contain-tabs`]: {
|
[`${componentCls}-contain-tabs`]: {
|
||||||
[`> ${componentCls}-head`]: {
|
[`> div${componentCls}-head`]: {
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
[`${componentCls}-head-title, ${componentCls}-extra`]: {
|
[`${componentCls}-head-title, ${componentCls}-extra`]: {
|
||||||
paddingTop: cardHeadPadding,
|
paddingTop: cardHeadPadding,
|
||||||
|
Loading…
Reference in New Issue
Block a user