Pitani kuzinthu zazikulu Pitani kumayendedwe adocs
Check
in English

Kudula mawu

Dulani zingwe zazitali za mawu ndi ellipsis.

Kuti mumve zambiri, mutha kuwonjezera .text-truncatekalasi kuti muchepetse mawuwo ndi ellipsis. Amafuna display: inline-blockkapena display: block.

Mawuwa ndi aatali ndithu, ndipo adzadulidwa akangowonetsedwa.
Mawuwa ndi aatali ndithu, ndipo adzadulidwa akangowonetsedwa.
html
<!-- 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>