RocketChat / RocketChat/fuselage

CardControls actions overflow instead of wrapping on small viewports

Open Beginner friendly
#1,823 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.