react-component / react-component/collapse
Panel header vertical align center
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 332
- Forks
- 140
- Avg merge
- 22h 19m
- Merged PRs (30d)
- 1
Description
Is there a better way to vertical align Panel header to center. Instead of align-items: flex-start to have center?
I know we can do it to override css but I would like to do it more appropriate.
https://github.com/ant-design/ant-design/blob/master/components/collapse/style/index.ts#L101
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing this repository's panel header styles with the linked Ant Design collapse style at components/collapse/style/index.ts#L101. Determine how the header alignment is currently controlled and whether the issue calls for a supported styling option or a default change. Done means the intended centered alignment can be achieved appropriately without an ad hoc CSS override.
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
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100