break-words
class is great but not enough
#2213
Replies: 13 comments 9 replies
-
Shitty one, what do you think the best solution is? You don't need |
Beta Was this translation helpful? Give feedback.
-
Hmmm, you're right 😞 (MDN)
It looks like Are you planning to create a Tailwind class for Thanks, Adam! |
Beta Was this translation helpful? Give feedback.
-
Bump - overflow-wrap:anywhere is needed! |
Beta Was this translation helpful? Give feedback.
-
According to mdn/browser-compat-data#17012 overflow-wrap: anywhere is now supported in Safari since 15.4. |
Beta Was this translation helpful? Give feedback.
-
.one {
word-break: break-all:
Krowd DardenYour selected shipping was UK_RoyalMailSecondClassStandard. Your selected shipping was Signed For 1st Class. word-wrap: break-word:Your selected shipping was UK_RoyalMailSecondClassStandard. Your selected shipping was Signed For 1st Class. |
Beta Was this translation helpful? Give feedback.
-
@adamwathan Let's go then? Also: https://caniuse.com/mdn-css_properties_overflow-wrap_anywhere |
Beta Was this translation helpful? Give feedback.
-
The example from @lucascaton shows a table. I am experiencing a similar issue using grid.
|
Beta Was this translation helpful? Give feedback.
-
Bump - overflow-wrap:anywhere pls |
Beta Was this translation helpful? Give feedback.
-
Added support for In the mean time don't forget you can always use arbitrary properties: <div class="[overflow-wrap:anywhere]"> |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hey, i saw this was being looked into, but haven't seen any updates on it. Just stumbled upon this myself, and would greatly appreciate support for |
Beta Was this translation helpful? Give feedback.
-
@adamwathan Any news on this? So many people are asking for it... |
Beta Was this translation helpful? Give feedback.
-
Bump. This class is much needed |
Beta Was this translation helpful? Give feedback.
-
Hi there.
It'd nice to have a single Tailwind class to apply both
overflow-wrap: break-word
andword-break: break-word
declarations.The break-words class is great but doesn't cover all scenarios (sorry if I'm missing something). Here's an example:
Using the
break-words
class:Using
overflow-wrap: break-word
andword-break: break-word
declarations:Example:
(Codepen with the same example)
Please let me know your thoughts 🙂
Beta Was this translation helpful? Give feedback.
All reactions