Commit d51b408d authored by Mark Otto's avatar Mark Otto
Browse files

Merge branch 'text-break-util' into v4-dev

parents 2162cb18 f7bf353c
Showing with 10 additions and 1 deletion
+10 -1
......@@ -62,7 +62,7 @@
.text-decoration-none { text-decoration: none !important; }
.text-break { word-break: break-word !important; }
.text-break { word-break: break-word !important; }
// Reset
......
......@@ -66,6 +66,15 @@ For longer content, you can add a `.text-truncate` class to truncate the text wi
{% endcapture %}
{% include example.html content=example %}
## Word break
Prevent long strings of text from breaking your components' layout by using `.text-break` to set `word-break: break-word`.
{% capture example %}
<p class="text-break">mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>
{% endcapture %}
{% include example.html content=example %}
## Text transform
Transform text in components with text capitalization classes.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment