ant-design / ant-design/pro-components

ProTable 边距逻辑破坏性调整导致大面积列表样式异常

Open
#8,739 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

这种是不是应该将错就错,这次 merge 改动影响很大,为啥能被合并呢,大面积的列表在没有配置这些可能项的时候边距都消失了,如果没有 lock 版本的情况,比如 tech-ui
![image](https://github.com/user-attachments/assets/e1f73750-afbf-4b36-893a-647cc1c90031)

_Originally posted by @Theoton in https://github.com/ant-design/pro-components/issues/8635#issuecomment-2367894436_

Contributor guide

Open the contributing guide

Research direction

Start at the ProTable implementation and inspect the margin logic change discussed in issue #8635. Reproduce the reported case without the optional configuration, then trace the affected list styling. Done means list margins remain present for configurations that omit those options, including the reported tech-ui case.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.