I am trying to position an inline form and navbar-brand next to each other (horizontally) on a bootstrap 4 navbar but instead they are vertically stacked.
The code I am using is below:
<nav class="navbar navbar-light bg-faded">
<h1 class="navbar-brand">MyBrand</h1>
<form class="form-inline">
<button class="btn btn-sm btn-outline-success" type="button">This should be on the same line as the brand</button>
</form>
</nav>
And I have a bootly demo here http://www.bootply.com/sOvVSY1TtM#
Welcome any help