dvajs / dva-example-user-dashboard

👲 👬 👨‍👩‍👧 👨‍👩‍👦‍👦
446 stars 205 forks source link

modify special style, but not customize theme #46

Open Irislm opened 6 years ago

Irislm commented 6 years ago

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 commented 6 years ago

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}; },