mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fix .text-truncate() typo
This commit is contained in:
parent
4d7b2ddba9
commit
6db1a3f909
1 changed files with 2 additions and 2 deletions
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue