ant-design / ant-design/pro-components

🧐[问题]在Top和Mix模式下,title、headerContent、actions边距和样式不一致

Open
#7,764 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

### 🧐 问题描述

有些Page没有侧边导航,于是使用Top模式,有侧边的使用Mix模式,导致访问不同的模式时,顶部的title的字体大小、actions的边距等不一样

### 请求帮助
请问这个问题如何解决比较好?

Contributor guide

Open the contributing guide

Research direction

Start by locating the Top and Mix mode entry points and comparing how title, headerContent, and actions are rendered and styled in each mode. Reproduce the layout in both modes, then define and verify consistent title sizing, spacing, and action margins; the issue does not name a file or test to run.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.