I'm encountering a slight issue with a dropdown button while working on making my website mobile-friendly. My goal is to have the button drop down on the left-hand side of it. Below is the snippet of my html code:
<!-- A div element for the button that will contain the nav-bar buttons -->
<div style="position: absolute; ; right: 0px; margin-top: 40px;" ngbDropdown class="btn-group dropleft">
<button class="btn adjustbtn dropdown-toggle" style="width: auto; height: 20px;" ngbDropdownToggle></button>
<div ngbDropdownMenu class="dropdown-menu">
<button ngbDropdownItem>All Sports</button>
<button ngbDropdownItem>Basketball</button>
<button ngbDropdownItem>Football</button>
</div>
</div>
However, I am facing an issue where the dropdown button keeps dropping down to the right-hand side instead, despite the arrow pointing to left. How can I resolve this?