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 with tabs removes padding-bottom from all cards inside #12083

koole opened this Issue Sep 5, 2018 · 0 comments


None yet
2 participants

koole commented Sep 5, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.




OSX 10.12, Chrome 64, Safari 11.1.2

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Place a Card component inside of another Card component with tabs

What is expected?

The title for the Card inside the Card with tabs should have a padding of 16 pixels below the Card title. This is what all Cards have.

What is actually happening?

The padding below the Card title is removed by the .ant-card-contain-tabs .ant-card-head-title selector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment