Skip to content

fix(fuselage): allow CardControls to wrap on narrow widths - #2074

Open
SheinRG wants to merge 1 commit into
RocketChat:mainfrom
SheinRG:fix/card-controls-responsive-1440
Open

fix(fuselage): allow CardControls to wrap on narrow widths#2074
SheinRG wants to merge 1 commit into
RocketChat:mainfrom
SheinRG:fix/card-controls-responsive-1440

Conversation

@SheinRG

@SheinRG SheinRG commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

CardControls rendered as a non-wrapping flex row, so cards with multiple buttons overflowed their container on small/mobile viewports. Add flex-wrap: wrap to .rcx-card__controls so controls flow onto additional lines (existing gap handles row spacing). Adds a story demonstrating wrapping in a width-constrained card.

Closes #1440

Proposed changes (including videos or screenshots)

Issue(s)

Further comments

CardControls rendered as a non-wrapping flex row, so cards with
multiple buttons overflowed their container on small/mobile viewports.
Add `flex-wrap: wrap` to `.rcx-card__controls` so controls flow onto
additional lines (existing gap handles row spacing). Adds a story
demonstrating wrapping in a width-constrained card.

Closes RocketChat#1440

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jul 8, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 35667a5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@rocket.chat/fuselage Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Card: CardControls is not completely responsive

1 participant