Skip to content
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

modify special style, but not customize theme #46

Open
Irislm opened this issue Nov 28, 2017 · 1 comment
Open

modify special style, but not customize theme #46

Irislm opened this issue Nov 28, 2017 · 1 comment

Comments

@Irislm
Copy link

Irislm commented Nov 28, 2017

I want to modify special style, such as row padding of module Table body in .css or .scss. Do I need to import something?
My code:
.ant-table-tbody > tr > td {
padding: 13px 8px !important;
}

@Irislm
Copy link
Author

Irislm commented Nov 28, 2017

I have found an API of Table named rowClassName, it did can add className for table row, but the new issue is how can I apply to my .css file. I can't write like that "
rowClassName: (record, index) => {
return {styles.productionTableRow};
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant