aboutsummaryrefslogtreecommitdiff
path: root/docs/css.html
diff options
context:
space:
mode:
authorZlatan Vasović <[email protected]>2014-02-07 13:40:32 +0100
committerZlatan Vasović <[email protected]>2014-02-07 13:40:32 +0100
commit6db1a3f9097c0375350ce133548de70a87572e59 (patch)
treeabb478cd40a68ae3ebdd8cebfd7b93acbc2a5db1 /docs/css.html
parent4d7b2ddba92e47f923d22d9d7b23cb7b0a3e0bc2 (diff)
downloadbootstrap-6db1a3f9097c0375350ce133548de70a87572e59.tar.xz
bootstrap-6db1a3f9097c0375350ce133548de70a87572e59.zip
Fix .text-truncate() typo
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 %}