Skip to content

Commit

Permalink
Further text truncation explanation.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronshekey authored Apr 8, 2021
1 parent 5928143 commit 3877584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/product/base/truncation.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<section class="stacks-section">
{% header "h2", "Examples" %}
{% header "h3", "Ellipses" %}
<p class="stacks-copy">CSS offers truncation on arbitrarily-long strings. This can help sanitize user-inputted things like bios, locations, or display names. In order for text truncation to work, it should be applied to a block-level element.</p>
<p class="stacks-copy">CSS offers truncation on arbitrarily-long strings. This can help sanitize user-inputted things like bios, locations, or display names. In order for text truncation to work, it should be applied to a block-level element. Truncation can only apply to text/strings, not arbitrary block-level elements.</p>
<div class="stacks-preview">
{% highlight html %}
<p class="truncate"></p>
Expand Down

0 comments on commit 3877584

Please sign in to comment.