My brand logo is currently centered, with two menus on the left and right sides. However, when viewing my website on a mobile device, I am facing some challenges in moving the left-hand search menu item to the right side. It seems that it's not flexing properly and is wrapping to a new line.
<nav class="navbar navbar-expand-lg navbar-light">
<button class="navbar-toggler" type="button">
<i class="material-icons">menu</i>
</button>
<a class="navbar-brand mx-auto" href="/">
<img src="logo.svg" height="25" class="d-inline-block align-top">
</a>
<div class="navbar-collapse" id="navbarNav">
<ul class="navbar-nav mr-auto">
<li class="nav-item d-none d-sm-none d-md-block">
<a class="nav-link" href="#" id="searchToggle">
<i class="material-icons">search</i>
</a>
</li>
</ul>
<ul class="navbar-nav ml-auto justify-content-end">
<li class="nav-item search-mobile d-block d-sm-block d-md-none">
<a class="nav-link" href="#" id="searchToggle">
<i class="material-icons">search</i>
</a>
</li>
<li class="nav-item d-none d-lg-block d-xl-block">
<a class="nav-link" href="#">Father's Day</a>
</li>
<li class="nav-item d-none d-lg-block d-xl-block">
<a class="nav-link" href="#">Stores</a>
</li>
<li class="nav-item d-none d-lg-block d-xl-block">
<a class="nav-link" href="#">Join</a>
</li>
</ul>
</div>
</nav>
I have two search menus because the location of one changes on different screen sizes. Is this the correct approach?