After moving from bootstrap 3 to bootstrap 4, my items no longer align properly. I've scoured the entire Internet for a solution, but I've run out of options (and patience.. haha)
This is how it currently looks:
https://i.sstatic.net/ra22j.png
I want the badge to be positioned on the right side of the text.
Here's the code snippet:
<div className="list-group">
<a href="#Expamle" data-toggle="collapse" className="list-group-item list-group-item-action flex-column">Example
<span className="badge badge-default badge-pill">3</span></a>
<div id="Expamle" className="collapse">
<div className="d-flex w-100 justify-content-between">
<label className="list-group-item list-group-item-action flex-column">Example list-item-1</label>
</div>
<div className="d-flex w-100 justify-content-between">
<label className="list-group-item list-group-item-action flex-column">Example list-item-2</label>
</div>
<div className="d-flex w-100 justify-content-between">
<label className="list-group-item list-group-item-action flex-column">Example list-item-3</label>
</div>
</div>
Please lend me your expertise!