- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
it's would be nice to have extraStyle property in Card component (to edit padding...) and not only a size property
What does the proposed API look like?
<Card
...
extra="content"
extraStyle={{ padding:0 }}
>
5条答案
按热度按时间zaq34kh61#
2nc8po8w2#
It's giving that :
svujldwt3#
He wants to control the
ant-card-extra
. For example, it is align to right, it's by design. If custom really necessary, overwriting it.xvw2m8pv4#
Any news on this issue? Really need this change
6vl6ewon5#
For anyone searching for a solution until this feature exists, you can hack it with custom css.
E.g. you can give your Card a custom class name:
Then in some imported css file use: