Skip to content

Commit

Permalink
fixed issue with background of nav children when active
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert van Lienden committed May 17, 2021
1 parent 4f1aff5 commit ec8df75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/Includes/Nav.ss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</a>
<div class="navbar-dropdown has-background-dark has-text-light">
<% loop $Children %>
<a href="$Link" class="navbar-item has-text-light <% if $isCurrent %>has-background-secondary has-text-dark<% else %>has-background-dark has-text-light<% end_if %>">
<a href="$Link" class="navbar-item has-text-light <% if $isCurrent %>has-background-primary has-text-dark<% else %>has-background-dark has-text-light<% end_if %>">
$MenuTitle
</a>
<% end_loop %>
Expand All @@ -35,4 +35,4 @@
<% end_loop %>
</div>
</div>
</nav>
</nav>

0 comments on commit ec8df75

Please sign in to comment.