I have implemented a fixed top navigation bar with the default breakpoint. While the select element appears fine when expanded, it seems misaligned in the collapsed version.
https://i.sstatic.net/ZN3x1.png
Below is my code snippet:
<nav id="mainNav" class="navbar navbar-default">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
... (Other navigation elements here)
I am considering adding paddings specifically for the collapsed menu. Can anyone suggest a simple hack or HTML code to achieve this?
Thank you in advance!