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
[Labelled] Add text-breakword
to styling
#3156
Conversation
馃憢 Thanks for opening your first pull request. A contributor should give feedback soon. If you haven鈥檛 already, please check out the contributing guidelines. |
49e4c51
to
59d76f8
Compare
text-breakword
to stylingtext-breakword
to styling
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.
Makes sense to me. 馃殺
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.
Nice 馃憤
馃帀 Thanks for your contribution to Polaris React! |
WHY are these changes introduced?
When using the TextField component and passing helpText, we noticed it did not wrap properly if there were no spaces or dashes to break up the text.
WHAT is this pull request doing?
Before:
HelpText does not wrap properly when there are no spaces or dashes to break up the words
After:
HelpText wraps even though there are no spaces in the text
How to 馃帺
馃枼 Local development instructions
馃棐 General tophatting guidelines
馃搫 Changelog guidelines
Copy-paste this code in
playground/Playground.tsx
:馃帺 checklist
README.md
with documentation changes