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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent SegmentedControl-text from wrapping #2174

Merged
merged 3 commits into from
Jul 28, 2022

Conversation

simurai
Copy link
Contributor

@simurai simurai commented Jul 27, 2022

What are you trying to accomplish?

Follow-up to #2083. It prevents text from wrapping onto multiple lines.

Before After
Screen Shot 2022-07-27 at 12 08 54 Screen Shot 2022-07-27 at 12 17 04

What approach did you choose and why?

white-space: nowrap;

Can these changes ship as is?

  • Yes, this PR does not depend on additional changes. 🚢

@simurai simurai requested a review from a team as a code owner July 27, 2022 03:15
@simurai simurai requested a review from langermank July 27, 2022 03:15
@changeset-bot
Copy link

changeset-bot bot commented Jul 27, 2022

🦋 Changeset detected

Latest commit: 115675b

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

@simurai simurai requested a review from jonrohan July 27, 2022 03:17
@github-actions github-actions bot temporarily deployed to Storybook Preview July 27, 2022 03:21 Inactive
@simurai simurai temporarily deployed to github-pages July 27, 2022 03:23 Inactive
@github-actions github-actions bot temporarily deployed to Storybook Preview July 27, 2022 03:23 Inactive
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.

2 participants