I want to ensure that my nav-item elements have enough width to display their content on a single line, as currently the content is wrapping onto two lines:
Sample Code:
https://jsfiddle.net/tavyhkem/2/
<ul class="navbar-nav mt-2 mt-lg-0">
<li class="nav-item">
<a class="nav-link" href="#">
<h5 class="no-margin-bottom">
<i class="fas fa-user"></i>
My Account
</h5>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">
<h5 class="no-margin-bottom">
<i class="fas fa-shopping-cart"></i>
Cart
</h5>
</a>
</li>
</ul>
Desired Outcome:
I am looking for "My Account" and "Cart" items to be adjusted in width so they can fit on one line.
Could this issue be related to my inline w-100 search bar?