当给sticky 的 table的每一列都设置width后,在宽度不够自适应的情况下,会出现表头和列对不齐的情况
nikojxie opened this issue · 0 comments
nikojxie commented
- 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?
对不齐