Does anyone know how to properly position a badge on top of an icon without it appearing to the right?
Check out this screenshot:
https://i.sstatic.net/z1Apj.png
This is the code I am using:
<li class="nav-item mr-3">
<a href="#" class="nav-link nav-icon">
<i class="uil uil-bell">
<span class="badge badge-light">2</span>
</i>
</a>
</li>
I want it to look like this instead: