ant-design / ant-design/pro-components

🐛[BUG] ProDescriptions开启bordered 栅栏失效

Open
#7,789 1 comment 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

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🐛 bug 描述
ProDescriptions不开启bordered时,栅栏效果,平分rows,开启bordered时,变成table col,不会平分每一列

### 📷 复现步骤
开启bordered

### 🏞 期望结果

开启bordered只是增加border,不会影响原先布局

### 💻 复现代码

代码地址: https://codesandbox.io/s/tender-pike-cv64nk?file=/App.tsx

### © 版本信息

- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox reproduction in App.tsx and inspect the ProDescriptions bordered and unbordered layouts. Confirm that enabling bordered adds borders without changing the existing equal column distribution, then verify both layouts in the reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.