-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix(toggle): prevent text from wrapping #5393
Conversation
Deploy preview for carbon-elements ready! Built with commit 7ce5103 |
Deploy preview for carbon-components-react ready! Built with commit 7ce5103 https://deploy-preview-5393--carbon-components-react.netlify.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 - Thanks @tw15egan!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Closes #5392
Prevent toggle label text from wrapping
Changelog
Changed
white-space: nowrap
to prevent text wrappingTesting / Reviewing
Add
已啟
to the Toggle label and ensure the label does not wrap to the next line