ant-design / ant-design/pro-components

👑 [需求] ProForm.Group title的margin-bottom是不是应该调整的小一些?

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

Description

### 🔩 所属模块或组件

ProForm

### 🥰 需求描述

ProForm.Group title的margin-bottom应该小一些

### ⛰ 功能需求适用场景

───── 上一组最后一项 ─────
← 24px (form-item margin-bottom)
───── 下一组标题 ────────
← 32px (from-gourp margin-bottom)
───── 下一组第一项 ──────
目前这样标题会和内容距离更远,看起来很奇怪

### 🧐 解决方案

改到多少合适我就不太知道了

Contributor guide

Open the contributing guide

Research direction

Start at the ProForm.Group entry point and inspect how the title spacing relates to the surrounding form items. Compare the current 24px and 32px gaps with the issue's described scenario, then verify that the chosen smaller margin makes the title-to-content spacing visually consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.