Currently in my setup:
I have a navigation bar with a group of buttons located on the right-hand side.
When the navbar is reduced to a smaller size, like on a smartphone, the two buttons get split across 2 rows within the div. In this state, I'm aiming to align these 2 buttons to the right side inside the div. However, despite numerous attempts, Bootstrap always ends up aligning the items to the left side, as seen in the provided image. (outline included solely for visualization)
Effective Layout:
https://i.sstatic.net/symco.png
Ineffective Layout:
https://i.sstatic.net/uN2BG.png
<!-- Bootstrap-5 -->
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="ef8d80809b9c9b9d8e9fafdac1dec1dc">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="8eece1e1fafdfafceffecebba0bfa0bd">[email protected]</a>/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<!-- Body -->
<nav class="navbar navbar-expand d-flex justify-content-around" style="box-shadow: 0 2px 0 #202020;">
<div class="">
<a class="btn btn-orange m-1" href="./projects">Projects</a>
</div>
<a href="./">
<image class="my-1" id="logo" src="./res/fnbg-logo6.svg" alt="FNBG Logo">
</a>
<div class="border me-2">
<a class="btn btn-orange m-1 align-self-end" target="_blank" href="mailto:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="ee8fae8c8dc08a8b">[email protected]</a>"><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="01604163662f6564">[email protected]</a></a>
<a class="btn btn-orange m-1 align-self-end" target="_blank" href="https://linkedin.com/in/abcde/">LinkedIn</a>
</div>
</nav>
Any suggestions on how to resolve this issue?