Why is it that when the column does not fit in one row, instead of showing a horizontal scrollbar, it goes to the bottom?
<div class="container-fluid main-container" style="overflow-x: auto; width:600px">
<div class="row mx-5">
<div class="col-6 col-sm-6 col-md-3 col-lg-3 mx-4 mt-12">
...content for column 1
</div>
<div class="col-6 col-sm-6 col-md-3 col-lg-3 mx-4 mt-12">
...content for column 2
</div>
<div class="col-6 col-sm-6 col-md-3 col-lg-3 mx-4 mt-12">
...content for column 3
</div>
<div class="col-6 col-sm-6 col-md-3 col-lg-3 mx-4 mt-12">
...content for column 4
</div>
</div>
</div>
Expected Outcome:
If the 4 div columns
do not fit in one row, a horizontal scrollbar
should appear.
Current Result:
The fourth column moves to the bottom below column 1, column 2, and column 3
The visual representation of this outcome can be seen here :