Skip to content

fix: prevent contributor card date from wrapping#527

Open
ArthSonani wants to merge 1 commit intojenkins-infra:mainfrom
ArthSonani:bugfix/date-wrapping
Open

fix: prevent contributor card date from wrapping#527
ArthSonani wants to merge 1 commit intojenkins-infra:mainfrom
ArthSonani:bugfix/date-wrapping

Conversation

@ArthSonani
Copy link

Description

This PR fixes the issue where contributor card dates were wrapping onto two lines on large screens.

Changes

  • Added white-space: nowrap; to the date styling.

Issue

Closes #526

Before

Screenshot 2026-02-25 at 12 29 52 PM

After

Screenshot 2026-02-25 at 12 04 42 PM

@krisstern
Copy link
Member

Hi @ArthSonani could you please investigate if this will have any impact on the other metadata fields if anyone of these happen to be "long"?

@krisstern
Copy link
Member

Capture some screenshots as evidence along the way if you can

@ArthSonani
Copy link
Author

@krisstern, This CSS styling ( nowarp ) is only used for date and pronouns. The nowrap rule impacts only those two. Dates are fixed length (YYYY-MM-DD); pronouns are typically short (she/her/hers, he/him/his, they/them/theirs), so it’s low risk.

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.

Contributor card date wraps to next line

3 participants