I'm facing an issue with a form layout I created that has two columns. Even when the browser width is decreased and the content overflows, the two columns remain the same. I've attempted modifying the code by using plain DIV with the container class, specifying column count, setting width constraints but it's not working as expected.
You can view the codepen here: https://codesandbox.io/s/stoic-goldberg-4ugt6
Below is the source code of the parent container:
<div class="container flex-wrap pt-3 w-75 ml-auto mr-auto mt-auto mb-5">
<div class="row">
<div class="col">
<b-card>
<SeriesForm />
</b-card>
</div>
<div class="col">
<b-card :header="captions[1]">
<SeriesForm :group="forms[1]" />
</b-card>
</div>
</div>
<div class="row">
<div class="col text-center p-4">
<b-button>Analyse</b-button>
</div>
</div>
</div>
I am looking for a solution to make it display as two columns when there is enough space available, and switch to a single column layout when needed.