]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix .text-truncate() typo 12637/head
authorZlatan Vasović <legospace9876@gmail.com>
Fri, 7 Feb 2014 12:40:32 +0000 (13:40 +0100)
committerZlatan Vasović <legospace9876@gmail.com>
Fri, 7 Feb 2014 12:40:32 +0000 (13:40 +0100)
docs/css.html

index 1c2c85170391ce4c17ce6c71ba798ae40d6b7322..f5e6596f34e44eaa496703b514e737dec9aa5ac6 100644 (file)
@@ -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 %}