Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当给sticky 的 table的每一列都设置width后,在宽度不够自适应的情况下,会出现表头和列对不齐的情况 #7528

Open
1 task done
nikojxie opened this issue Apr 24, 2024 · 0 comments

Comments

@nikojxie
Copy link

nikojxie commented Apr 24, 2024

  • 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

codesandbox
image

Steps to reproduce

当给sticky 的 table的每一列都设置width后,在宽度不够自适应的情况下,会出现表头和列对不齐的情况,发现是计算出的表头宽度是整数,而列宽会是小数,所以产生了差异

What is expected?

对齐

What is actually happening?

对不齐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant