aboutsummaryrefslogtreecommitdiff
path: root/docs/css.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/css.html')
-rw-r--r--docs/css.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/css.html b/docs/css.html
index 1c2c85170..f5e6596f3 100644
--- a/docs/css.html
+++ b/docs/css.html
@@ -3240,7 +3240,7 @@ a {
<p>Easily truncate text with an ellipsis with a single mixin. <strong>Requires element to be <code>block</code> or <code>inline-block</code> level.</strong></p>
{% highlight scss %}
// Mixin
-.text-truncate() {
+.text-overflow() {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@@ -3250,7 +3250,7 @@ a {
.branch-name {
display: inline-block;
max-width: 200px;
- .text-truncate();
+ .text-overflow();
}
{% endhighlight %}