I inserted a Bootstrap navigation bar into my partials folder by copying and pasting the code. This partial is included in every EJS file that I render. However, I noticed that the form and the button are displayed stacked on top of each other instead of side by side like this:
Can anyone point out what I might be doing wrong?
<nav class="navbar navbar-light bg-light justify-content-between">
<a class="navbar-brand">Navbar</a>
<form class="form-inline">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</nav>