Commit f89f990c authored by XieZhiXiong's avatar XieZhiXiong

chore: 完善body样式

parent af33857c
......@@ -20,7 +20,15 @@
}
.ant-card-body {
padding: 14px 24px 24px;
padding: 16px;
}
}
}
&-hasTitle {
:global {
.ant-card-body {
padding: 12px 16px 16px !important;
}
}
}
......
......@@ -22,6 +22,7 @@ const MellowCard: React.FC<MellowCardProps> = props => {
const { children, fullHeight, ...rest } = props;
const cls = classNames(styles['mellow-card'], {
[styles.fullHeight]: fullHeight,
[styles['mellow-card-hasTitle']]: !!rest.title,
});
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment