white-space nowrap bootstrap 4 code example
Example: bootstrap text no wrap
<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>