Currently, I am utilizing the row class in Bootstrap which contains two columns, one for X and one for Y. There are scenarios where either the X column, the Y column, or both may be present within the row. Since a row can have up to 12 columns, when only the X column is present, it will take col-md-12. However, if both the X and Y columns are included, they will each take up col-md-6 inside the row.
For example:
<div class="row">
<div class="col-md-6">x</div>
<div class="col-md-6">y</div>
</div>
If only the X element is retrieved from the database:
<div class="row">
<div class="col-md-12">x</div>
</div>
Thank you!