I'm facing an issue with the bootstrap 4 navbar - I am trying to get rid of the white space that appears above the nav bar but so far, my attempts have been unsuccessful. Here's how it looks when rendered:
https://i.sstatic.net/zfyWJ.jpg
It seems like there is some default padding causing this white space, can anyone point out what mistake I may be making here?
Here is the code snippet:
<div class="row site-hero d-flex align-items-center justify-content-center">
<div class="col navbar-row w-100">
<nav class="navbar navbar-dark navbar-expand-md nomergy-nav">
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="#"><img height="30" src="/themes/nomergy/assets/images/2018/logo.png">
</a>
<a class="nav-link mob-profile" href="/login">
<i class="far fa-user nav-link"></i>
</a>
<div class="navbar-collapse collapse" id="navbarSupportedContent" aria-expanded="false" style="height: 0px;">
<ul class="navbar-nav ml-auto navbar-default">
<li>
<a class="nav-link" href="/about">My Links</a>
</li>
</ul>
</div>
</nav>
</div>