Skip to content

Conversation

@diti0-dot
Copy link
Contributor

What is the goal of this PR and why is this important?

Fixes text overflow when the facilitator name is displayed, ensuring the button resizes correctly instead of overflowing.

How did you approach the change?

Removed the fixed width that was constraining the button and added min-w-0 so flexbox can calculate widths correctly.

Anything else to add?

Nothing else.

Copy link
Collaborator

@maebeale maebeale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, @diti0-dot ! I couldn't figure this out. Thank you!

@maebeale maebeale merged commit d2a0a74 into rubyforgood:main Dec 19, 2025
2 checks passed
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.

Fix facilitator_profile_button helper so text doesn't go outside the button

2 participants