Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Fix] Adding white-space nowrap to Labels #1977

Merged
merged 4 commits into from Mar 3, 2022
Merged

Conversation

jonrohan
Copy link
Member

@jonrohan jonrohan commented Mar 3, 2022

What are you trying to accomplish?

I'm adding a white-space: nowrap rule to our .Label component to fix an issue where labels can wrap when containing two words.

Before After
image image

What approach did you choose and why?

I don't think we'd ever want our labels to wrap like that, but if someone can think of a place let me know.

Are additional changes needed?

  • No, this PR should be ok to ship as is. 馃殺

@jonrohan jonrohan requested a review from a team as a code owner March 3, 2022 16:38
@jonrohan jonrohan requested a review from simurai March 3, 2022 16:38
@changeset-bot
Copy link

changeset-bot bot commented Mar 3, 2022

馃 Changeset detected

Latest commit: 4887a32

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

This PR includes changesets to release 1 package
Name Type
@primer/css 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

@jonrohan jonrohan merged commit 80bf9d9 into main Mar 3, 2022
@jonrohan jonrohan deleted the white-space-labels branch March 3, 2022 23:55
@primer-css primer-css mentioned this pull request Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants