I am looking to center my content on the page and maintain a close proximity between items within a div. However, with Bootstrap 5, when I resize the page wider, additional space is added which pushes the items apart. Is there a way to keep them compacted towards the center of the page?
How can I ensure that Bootstrap 5 maintains the compact layout at the center of the page like in the top image below:
This: https://i.sstatic.net/Rrx6y.jpg
Instead of this: https://i.sstatic.net/YKZJc.jpg
<div class="container text-center center-container">
<div class="row">
<div class="col">
<div>
image
</div>
</div>
<div class="col">
Some texty bits
</div>
<div class="col">
<div>
image
</div>
</div>
</div>
</div>