Tlolela go diteng tše kgolo Tlolela go docs navigation
in English

Kgaotšo ya sengwalwa

Kgaola dithapo tše telele tša sengwalwa ka ellipsis.

Bakeng sa diteng tše telele, o ka oketša .text-truncatesehlopha go kgaola sengwalwa ka ellipsis. E nyaka display: inline-blockgoba display: block.

Sengwalwa se ke se setelele kudu, gomme se tla kgaolwa ge se šetše se bontšhitšwe.
Sengwalwa se ke se setelele kudu, gomme se tla kgaolwa ge se šetše se bontšhitšwe.
<!-- 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>