I am currently working on developing a grid system for my Blazor application that features small fixed-size columns with one large column. Instead of dividing the grid into 12 columns using col-xs-*, I have opted to set custom widths without using the col class. However, I have encountered an issue where a long word causes the last column to take up the full width in a new row despite using break-word overflow-wrap. My goal is to have everything rendered in a single row similar to the second row in the example below.
@import "https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4e2c21213a3d3a3c2f3e0e7b607f607d">[email protected]</a>/dist/css/bootstrap.min.css";
<div class="container">
<div class="row border">
<div class="border" style="width:30px">X</div>
<div class="border" style="width:40px">XX</div>
<div class="col border" style="overflow-wrap: break-word;">tooLongForThisRooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooow</div>
</div>
<div class="row border">
<div class="border" style="width:30px">Y</div>
<div class="border" style="width:40px">YY</div>
<div class="col border" style="overflow-wrap: break-word;">not too long not too long not too long not too long not too long not too long not too long not too long not too long not too long not too long</div>
</div>
</div>