I have the following structure rendered dynamically in DOM
<div>
<span>
<label>WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW</label>
</span>
</div>
For the above case (long text with all W's), I want to wrap the text to the next line (or even truncating text with ellipsis is fine if that can be done via CSS)
I have already tried all the values for white-space (tried applying to all the 3 DOM elements), but it is not wrapping. Is there some other property I need to check which might be preventing text from wrapping to next line?
Just to add, I have this structure within a flex container.