using Bootstrap 5 I want to display a div and a canvas on on a row till md as a Breakpoint
I want to alling the canvas right after the text ends at the moment each part has a equal width
How can I remove the unused space from the div ?
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<section class="p-5">
<div class="container">
<div class="row g-4 bg-primary">
<div class="col-md-6">
<div>
<p>
first stuff
<span>hi</span>
</p>
<p>
second stuff
<span>hii</span>
</p>
<p>
third stuff
<span>hiii</span>
</p>
<p>global stuff <span>hello</span></p>
</div>
</div>
<div class="col-md-6 bg-dark">
<canvas></canvas>
</div>
</div>
</div>
</section>
