Skip to content

Commit

Permalink
Merge pull request #1079 from nunocoracao/949-empty-hamburger-visible
Browse files Browse the repository at this point in the history
Empty hamburger visible
  • Loading branch information
nunocoracao authored Dec 1, 2023
2 parents 723da1a + 242c43e commit 8e2dd36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/header/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@

<label id="menu-button" for="menu-controller" class="block">
<input type="checkbox" id="menu-controller" class="hidden" />
{{ if .Site.Menus.main }}
<div class="cursor-pointer hover:text-primary-600 dark:hover:text-primary-400">
{{ partial "icon.html" "bars" }}
</div>
Expand All @@ -104,13 +105,11 @@
"xmark" }}</span>
</li>

{{ if .Site.Menus.main }}
{{ range .Site.Menus.main }}

{{ partial "header/header-mobile-option.html" . }}

{{ end }}
{{ end }}

</ul>
{{ if .Site.Menus.subnavigation }}
Expand All @@ -137,6 +136,7 @@

</ul>
{{ end }}
{{ end }}

</div>
</label>
Expand Down

0 comments on commit 8e2dd36

Please sign in to comment.