ant-design / ant-design/pro-components
🧐[问题]ProTable toolbar没有small模式
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🧐 问题描述
ProTable defaultSize="small",但是上面的toolbar仍然很高,看了下padding=16,怎么让toolbar变窄或者跟随small模式。
### 💻 示例代码
```
打印
,
],
}}
defaultSize="small"
rowSelection={{
selectedRowKeys: selectedKeys,
onChange: setSelectedKeys,
}}
```
### 🚑 其他信息

Contributor guide
Research direction
Start by tracing ProTable's toolbar rendering and how the defaultSize="small" prop is applied to the table and toolbar. Verify the behavior with the provided toolbar and row-selection example; done means the toolbar height or padding follows the small mode.
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