Skip to content

Commit

Permalink
Updated navbar for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
scarpentier authored Sep 6, 2024
1 parent 5e2be10 commit 9a56c90
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ScavengerHunt.Web/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
@Scripts.Render("~/bundles/bootstrap")
</head>
<body>
<nav class="navbar navbar-expand-lg bg-body-tertiary mb-3">
<div class="container-lg">
@Html.ActionLink(@Resources.ScavengerHunt, "Index", "Home", null, new { @class = "navbar-brand" })
<nav class="navbar navbar-expand bg-body-tertiary mb-3">
<div class="container">
@Html.ActionLink(@Resources.ScavengerHunt, "Index", "Home", null, new { @class = "navbar-brand d-none d-md-block" })
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
Expand Down Expand Up @@ -40,7 +40,6 @@
<li>@Html.ActionLink("Settings", "Index", "Settings", null, new { @class = "dropdown-item" })</li>
</ul>
</li>

}
</ul>
</div>
Expand Down

0 comments on commit 9a56c90

Please sign in to comment.