I want the label inside the bootstrap column div
get wrapped if text width increases above the div length. Below is my html for the issue:
<div class="row">
<div class="col-4">
<label>Long Text goes here</label>
</div>
<div class="col-1">
<label>A</label>
</div>
</div>
Below is the screenshot for the error:
The red squared text is the original long text under the Product column and the green squared texts are the text for the columns Flat, Round.
I had tried using white-space: nowrap
for label
still did not work .
Any idea why this is happening?