ant-design-vue
ant-design-vue copied to clipboard
当给sticky 的 table的每一列都设置width后,在宽度不够自适应的情况下,会出现表头和列对不齐的情况
trafficstars
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.1.2
Environment
mac, chrome
Reproduction link
Steps to reproduce
当给sticky 的 table的每一列都设置width后,在宽度不够自适应的情况下,会出现表头和列对不齐的情况,发现是计算出的表头宽度是整数,而列宽会是小数,所以产生了差异
What is expected?
对齐
What is actually happening?
对不齐
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
I can confirm this behaviour too.