Open razvanbh opened 1 year ago
https://stackblitz.com/edit/angular-f6ptlu
[nzScroll]="{ x: 'auto', y: '300px' }"
If header is wider than the set nzWidth the columns in the table take the table header width instead of the nzWidth value.
The columns in the table are taking the width from nzWidth, but the header is getting wider, and the table is not aligned anymore with the header.
Use nzBreakWord or change the styles of th manually
nzBreakWord
th
Reproduction link
https://stackblitz.com/edit/angular-f6ptlu
Steps to reproduce
[nzScroll]="{ x: 'auto', y: '300px' }"
What is expected?
If header is wider than the set nzWidth the columns in the table take the table header width instead of the nzWidth value.
What is actually happening?
The columns in the table are taking the width from nzWidth, but the header is getting wider, and the table is not aligned anymore with the header.