Why is this navbar's height more than 1 row? I just want it to be 1 row.
Note: This is only a small part of the code, can anyone tell me the reason why the height is so big, so I can modify according to the suggestion? I don't want to change the html structure too much.
html,body {
height: 100%;
}
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.css">
<div class="container-fluid h-100">
<div class="row h-100">
<div class="col-12 col-md-2 p-0 bg-primary">a</div>
<div class="col bg-faded py-3">c</div>
</div>
</div>