RocketChat / RocketChat/fuselage
CardControls actions overflow instead of wrapping on small viewports
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 162
- Forks
- 258
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 24
Description
Problem
Buttons inside CardControls do not wrap on narrow screens, causing horizontal overflow.
Steps to Reproduce
Render a Card with multiple actions in CardControls
Resize viewport to mobile width
Buttons overflow instead of wrapping
Expected Behavior
Action buttons should wrap naturally on smaller screens.
Actual Behavior
Buttons remain in a single row and overflow horizontally.
Root Cause
display: flex applied without flex-wrap
Proposed Fix
Add flex-wrap: wrap specifically to .rcx-card__controls
Scope
Card.styles.scss
Impact
Mobile usability issue
CSS-only fix
Desktop behavior unchanged
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
Open Card.styles.scss and inspect the .rcx-card__controls styles, starting with the flex layout that currently keeps actions in one row. Add wrapping for that selector and verify that multiple CardControls actions wrap at mobile widths without changing desktop behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scss
- Domain
- design, frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 75/100