I am trying to prevent the column height from being equal to the row height in Bootstrap. Here is my code snippet:
<div class="row justify-content-center text-center">
<div class="col-sm-3"></div>
<div class="col-sm-9"></div>
</div>
The content in the col-sm-9 column is longer than that in col-sm-3, causing its height to be larger. However, the height of col-sm-3 also increases with col-sm-9. How can I set the height dynamically based on the content and avoid this issue?
Thank you.