Setting contentAligned on Hero to center does not center secondary content
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 63
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 15
Description
## Summary of the bug
Setting contentAligned on Hero to center does not center secondary content on smaller screen sizes
## 🪜 How to reproduce
Tell us the steps to reproduce the problem:
1. Go the Hero storybook
2. Set contentAligned to center
3. Adjust your window width to a smaller screen size
4. See how Secondary header and secondary description is not in the center
## 📸 Screenshots or code

Contributor guide
Research direction
Start with the Hero Storybook story and reproduce the issue by setting contentAligned to center and narrowing the window. Trace the Hero implementation and its responsive styling for the secondary header and description. Done means both secondary elements remain centered at smaller screen sizes and the Storybook reproduction no longer shows the bug.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100