ant-design / ant-design/pro-components

🐛[BUG] CheckCard title不能自动省略

Open
#7,894 0 comments 0 reactions 0 assignees View on GitHub
⭕️ bug card
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

![image](https://github.com/ant-design/pro-components/assets/52907799/678578b2-67c5-46e7-886f-bf79ed03cd41)

https://procomponents.ant.design/components/check-card#%E8%87%AA%E5%AE%9A%E4%B9%89%E6%A0%87%E9%A2%98

Contributor guide

Open the contributing guide

Research direction

Start with the CheckCard documentation's custom-title example and compare its behavior with the screenshot when the title is too long. Reproduce the overflow, then inspect the CheckCard component entry point and its existing tests, if present. Done means long custom titles are automatically displayed with ellipsis without breaking the card layout.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.