I am facing a styling issue where the height of my avatar image is affecting other inline items located next to it. The images below demonstrate this problem.
https://i.sstatic.net/bovge.png
https://i.sstatic.net/EsF2R.png
As you can see, when I increase the height of my avatar logo, it causes the navigation links to be pushed down.
I need the avatar image to not impact the links placed beside it.
Below is the CSS and HTML code:
.terms-link {
display: inline-flex;
align-items: center;
margin-right: -9px;
}
.user {
width: 153px;
}
.terms {
width: 103px;
}
/* Remaining CSS properties unchanged for brevity */
<div class="right-side">
<nav>
<!-- Navigation links -->
</nav>
</div>