I'm currently faced with the following situation:
<div class="row no-gutters">
<div class="col"></div>
<div class="col col-auto"></div>
</div>
So, the first column will occupy the space available that is not being filled by the second column
i.e. [ |--------column1--------| |column2| ]
My issue is when the content inside column1
has a width larger than the containing row. What happens is, instead of column1
shrinking to still fit both columns in the same row line, column1
fills the whole row as if it was col-12
and column2
drops down to a new line, hence wrapping the columns.
Is there way to prevent this behaviour and always keep both columns in the same line?