The problem of setting width and height of Table Table in antd

The default height of the Table list in

antd is not good-looking. If you want to adjust the height, you will find that if there is too much content, it will not automatically wrap, the content will overlap, and adding the auto-wrapping attribute white-space: normal will not work. How do you solve this problem

Mar.18,2021

knows how to do it.


caused by padding.

modify the padding value

.ant-table-tbody > tr > td {
    padding: 16px 16px;
    word-break: break-word;
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2272c-2b620.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2272c-2b620.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?