I am currently incorporating Bootstrap panels into my project, and I have a design mockup that looks like this: https://i.sstatic.net/pHArl.png
The Profile text and progress bar need to be aligned to the left, while the collapse icon should be aligned to the right.
Here is the code snippet I have at the moment:
<div id="panelProfile" role="tab" class="panel-heading">
<h4 class="panel-title">Profile</h4>
<div class="progress body-profile">
<div class="progress-bar">
<div class="progress-filled"></div>
<div data-bind="" class="progress-value"></div>
</div>
</div>
</div>
I have attempted to use float for both the profile text and progress bar, but it resulted in this layout: https://i.sstatic.net/zmcrM.png
Is there a more effective way to achieve this alignment without specifying explicit values? It needs to remain responsive.