My website is built using Bootstrap 4 and the following is the HTML code:
<div class="container">
<div class="row text-center ">
<div class="col-lg-6">A</div>
<div class="col-lg-6">B</div>
</div>
</div>
The code functions perfectly on the website, but when viewed on mobile or with a narrow browser window, the col-lg-6 classes stack with excess vertical space between them. I am searching for a solution to reduce this space. Any suggestions?