What this Bootstrap Utility API class does
Set the white-space property of an element.
Example usage & available classes
<div class="badge bg-primary text-wrap" style="width: 6rem;">
This text should wrap.
</div>
<div class="badge bg-primary text-wrap" style="width: 6rem;">
This text should wrap.
</div>
Example override
In the example override below, we are adding the additional class of "text-pre" with a value of "pre".
"white-space": map-merge(
map-get($utilities, "white-space"),
(
values: map-merge(
map-get(map-get($utilities, "white-space"), "values"), (
pre: pre
)
)
)
)