Is there a way to center the text in the Modal Header and have the H1 and P tags occupy one row each?
Applying d-block to each creates two columns. I also tried increasing the Height in the Modal Header without success.
If you have a solution, please help! My email is: [email protected].
<div class="modal fade" id="product-review-modal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">Review of "Product Name"</h1>
<p>Please review this product! Thank you for your cooperation!</p>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>