bootstrap truncate text code example
Example: bootstrap nowrap
<div class="text-nowrap" style="width: 8rem;">
This text should overflow the parent.
</div>
<div class="text-nowrap" style="width: 8rem;">
This text should overflow the parent.
</div>