Вы не указали, что делает класс align-items-center
, поэтому трудно сказать, что может происходить.
Простое добавление класса align-items-center
в CSS с text-align: center;
может центрировать изображение.
.navbar-brand {
height: 100px;
padding-top: .75rem;
padding-bottom: .75rem;
font-size: 1rem;
background-color: rgba(0, 0, 0, .25);
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}
.navbar {
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .1);
background-color: #3366cc;
height: 100px;
}
.align-items-center {
text-align: center;
}
<nav class="navbar sticky-top p-0">
<div class="container-fluid h-100" style="border-bottom: 1px solid rgb(192, 192, 192); height:100px;">
<div class="row justify-content-between align-items-center h-100" style="width:100vw;">
<div class="col-2 col-xxxl-1 h-100" style="background:white;">
<img class="img-fluid" style="max-height: 100px" src="https://via.placeholder.com/350x150" alt="" />
</div>
<div class="col-2 col-xxxl-1 text-center" style="background: white;height: 100%;">
<p class="no-wrap"><a href=""> Sign out</a></p>
</div>
</div>
</div>
</nav>