-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
break-words
class might need to include word-break: break-word
#10004
Comments
Hey! So you're right, this is kind of confusing at first glance. We're using That said, I think the issue you're running into here is the same as #5446, where you need to add https://play.tailwindcss.com/gi78CVyPam As @adamwathan mentions in that other issue, you'll probably find yourself needing to use this technique more often, even in situations not related to break words stuff, super common annoying little flex issue. Hope that helps! 👍 |
However there appears to be no |
#12127 Created a related research and discussion for this issue. |
What version of Tailwind CSS are you using?
v3.2.4
What build tool (or framework if it abstracts the build tool) are you using?
Gatsby v5.2.0
What version of Node.js are you using?
18
What browser are you using?
Firefox
What operating system are you using?
Windows
Reproduction URL
https://play.tailwindcss.com/OVE2UF43o2
Describe your issue
I state "might" because this might be a browser bug, or another class that I should add, apologies if this is the case.
flex
class is required on the parent for this to occur, if I remove that, both results become identical.flex-col
also causes both results to become identical, which is a bit odd to me.Here is what it looks like on my screen:
I found it odd that in the docs the
break-words
class usesoverflow-wrap
exclusively, while all of the other classes at least includeword-break
.Perhaps all of those classes should include both
overflow-wrap
andword-break
.The text was updated successfully, but these errors were encountered: