Open
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
When the size prop is set to 'small' for a card, and that card uses tabs, the tabs size should be set to small as well instead of the fixes 'large' size set currently
What does the proposed API look like?
no changes in the api, just consider the card size to set the tabs size as well
add the size prop in:
https://github.com/vueComponent/ant-design-vue/blob/main/components/card/Card.tsx#L103
hoverable,
size,
activeTabKey,
define the tab size according to the card size
https://github.com/vueComponent/ant-design-vue/blob/main/components/card/Card.tsx#L133
size: size === 'small' ? 'small' : 'large' as SizeType,
Metadata
Metadata
Assignees
Labels
No labels