My goal is to ensure that the modal-body is vertically aligned for optimal visibility on both mobile phones and PCs. I am utilizing bootstrap for this purpose.
<div class="modal-body" style="display: inline-block;">
<div>
<img class="product-photo-modal" src="" alt="" width="200" height="200">
</div>
<div class="text-center">
<h3>Choose how many:</h1>
<p class="product-info-modal" style="margin-right: 3px;"></p>
<div>
<button class="d-inline p-2 bg-primary text-white" id="substract-item-count" type="button">-</button>
<p class="d-inline p-2" id="item-count">0</p>
<button class="d-inline p-2 bg-primary text-white" id="add-item-count" type="button">+</button>
</div>
</div>
</div>