ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

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

Open nikojxie opened this issue 1 year ago • 1 comments
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

codesandbox image

Steps to reproduce

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

What is expected?

对齐

What is actually happening?

对不齐

nikojxie avatar Apr 24 '24 08:04 nikojxie

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

github-actions[bot] avatar Jun 24 '24 02:06 github-actions[bot]

I can confirm this behaviour too.

pavitra-infocusp avatar Jul 01 '24 09:07 pavitra-infocusp