Skip to content

Commit e5b9da3

Browse files
committed
hide menu button when not needed
1 parent df3068a commit e5b9da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const BaseTemplate = `<!DOCTYPE html>
1919
</span>
2020
</div>
2121
<div class="block">
22-
<button id="sidenav-open-button" class="flex items-center px-3 py-2 text-indigo-400 hover:text-indigo-500">
22+
<button id="sidenav-open-button" class="inline lg:hidden flex items-center px-3 py-2 text-indigo-400 hover:text-indigo-500">
2323
<svg class="fill-current h-5 w-5" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><title>Menu</title><path d="M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z"/></svg>
2424
</button>
2525
<button id="sidenav-close-button" class="flex items-center px-3 py-2 text-indigo-400 hover:text-indigo-500 hidden">

0 commit comments

Comments
 (0)