I am facing a challenge with aligning two elements in the middle. I have a column setup where col-md-4 contains an h1 element and col-md-8 contains a paragraph element. Despite my efforts to use line-height for alignment, sometimes on smaller screens the text wraps onto two lines causing excessive spacing. My goal is to align both elements in the center regardless of whether there are 1, 2, or 3 lines in the paragraph.
<div class="container-fluid">
<div class="container">
<div class="row">
<div class="col-md-4">
<h1>Heading One</h1>
</div>
<div class="col-md-8">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla non risus nibh. Suspendisse vehi.</p>
</div>
</div>
</div>
</div>