Skip to content

Comments

Fix Premature Contributor Username Truncation in Card Layout#940

Open
Aarya-Chaudhari wants to merge 16 commits intosayeeg-11:mainfrom
Aarya-Chaudhari:naming
Open

Fix Premature Contributor Username Truncation in Card Layout#940
Aarya-Chaudhari wants to merge 16 commits intosayeeg-11:mainfrom
Aarya-Chaudhari:naming

Conversation

@Aarya-Chaudhari
Copy link
Contributor

📋 Description

This PR fixes the issue where contributor usernames were being truncated with ellipses (...) even when sufficient space was available inside the contributor cards.

The root cause was multiple conflicting .contributor-name CSS rules in contributors.css, where the final rule applied white-space: nowrap, overflow: hidden, and text-overflow: ellipsis, overriding earlier styles and forcing unnecessary truncation due to CSS cascade priority.

This update removes the conflicting truncation styles and enables proper text wrapping so full usernames are displayed whenever space allows, while still preserving layout stability and responsiveness.

📸 Screenshots (MANDATORY for UI/UX changes)

Screenshot 2026-02-22 120038
  • This PR includes UI/UX changes → Screenshots attached
  • This PR does NOT include UI/UX changes

Closes #906

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.

[Bug]: Contributor Usernames Are Truncated Even When Space Is Available

1 participant