Skip to main content
MybringDesign System

Text wrapping

Class Declaration Usage
ws-nowrap white-space: nowrap; Makes text not wrap at all. For instance useful in table cells with numbers.
ofw-anywhere overflow-wrap: anywhere; Breaks only words that are too long. Useful for when there is limited space, like in a table cell combined with long pieces of data that don’t have any spaces or uses underscores instead.
wb-break-all word-break: break-all; For the very rare cases when you need to be able to potentially break all words anywhere, regardless of their length.