Add classes to hamburger menu elements and fix scrollbar on overlay menu

This commit is contained in:
Joseph Hutchinson
2018-05-01 13:35:00 -04:00
parent a41ab67dc1
commit ecef4c9abf
2 changed files with 12 additions and 21 deletions

View File

@@ -4,10 +4,10 @@
<input type="checkbox" onclick="hamburgerMenuPressed()"/>
<span></span>
<span></span>
<ul class="hamburger-menu-view">
<li><a href="/">Home</a></li>
<ul class="hamburger-menu-overlay">
<li><a href="/" class="hamburger-menu-overlay-link">Home</a></li>
{{ range $key, $value := .Site.Taxonomies.categories }}
<li><a href="/categories/{{ $key | urlize }}">{{ $key | humanize }}</a></li>
<li><a href="/categories/{{ $key | urlize }}" class="hamburger-menu-overlay-link">{{ $key | humanize }}</a></li>
{{ end }}
</ul>
</div>