How come the button is acting like a block element even though it should be a block-inline element? The input tag is also inline, so according to Bootstrap 4, they should appear next to each other horizontally. However, in the code below, the elements are displaying on top of one another.
<button type="button" style="display: inline" class="btn btn-primary">C</button>
<input type="text" style="display: inline" class="form-control" placeholder="Username" aria-describedby="basic-addon1">