I've integrated Bootstrap 5 with my navbar, but when viewed on a mobile device, the buttons disappear. Even hovering over them doesn't display anything. Is there a solution for this issue?
Below is the code snippet:
<nav class="navbar navbar-expand-xl navbar-dark hover-shadow" style="background-color: #252c3a;" role="navigation">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img src="https://i.imgur.com/pK7YWmW.png" height="60" width="212" alt="Server Knight profile picture.">
</a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="nav navbar-nav me-auto">
<li class="nav-item">
<a class="nav-link active navbar-btn"
href="https://discord.com/oauth2/authorize?client_id=801424420605263902&permissions=8589934591&scope=bot">Invite
me</a>
</li>
<li class="nav-item">
<a class="nav-link active navbar-btn" href="https://discord.gg/yAd6Y2GcTe">DSOF</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link active navbar-btn dropdown-toggle" id="navbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
About the bot
</a>
<ul class="dropdown-menu dropdown-background" aria-labelledby="navbarDropdownMenuLink">
<li><a class="dropdown-item" id="dropdown-btn" href="/docs">Docs</a></li>
<li>
<hr class="dropdown-divider" style="border-color: #fff">
</li>
<li><a class="dropdown-item" id="dropdown-btn" href="/faq"& gt;Faq</a></li>
<li>
<hr class="dropdown-divider" style="border-color: #fff&q uot;>
</li>
<li><a class="dropdown-item" id="dropdown-btn" href="/team">The team</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link active navbar-btn dropdown-toggle" id="na vbarDropdownMenuLink" role="button"
data-bs-toggle="dropdown" aria-expanded=&quo t;false">
Applications
</a>
<ul class="dropdown-menu dropdown-background" aria-labelledby ="navbarDropdownMenuLink">
<li><a class="dropdown-item" id="dro pdown-btn" href="/appeal">Appeal a report</a></li>
& lt;li>
<hr class="dropdown-divider" style=&q uot;border-color: #fff">
</li>
<li><a class ="dropdown-item" id="dropdown-btn" href="/apply"&g t;Apply to be a bot developer</a>
</li>
</ul>
</li>
<li class="nav-item">
<a class="nav-link active navbar-btn" href="/donate">Donate</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<a href="/login" class="login-btn nav-li nk active" id="login-btn">Login</a>
</ul>
</div>
</div>
</nav>
Additionally, you can view the code in this JSFiddle link