in English
Ukunqanyulwa kombhalo
Nciphisa iyunithi yezinhlamvu ezinde zombhalo nge-ellipsis.
Ukuze uthole okuqukethwe okude, ungakwazi ukwengeza .text-truncate
iklasi ukuze unciphise umbhalo nge-ellipsis. Idinga display: inline-block
noma display: block
.
Lo mbhalo mude impela, futhi uzoncishiswa uma usubonisiwe.
<!-- Block level -->
<div class="row">
<div class="col-2 text-truncate">
This text is quite long, and will be truncated once displayed.
</div>
</div>
<!-- Inline level -->
<span class="d-inline-block text-truncate" style="max-width: 150px;">
This text is quite long, and will be truncated once displayed.
</span>