Merge pull request #1812 from pjkundert/fix/mobile_menus

Fix mobile menus to allow access to menu content
This commit is contained in:
Nuno Coração 2024-11-08 17:37:20 +00:00 committed by GitHub
commit 699df484b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
<li class="mt-1">
<a class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400">
<a href="{{ .URL }}" class="flex items-center text-gray-500 hover:text-primary-600 dark:hover:text-primary-400">
{{ if .Pre }}
<span {{ if and .Pre .Name}} class="mr-1" {{ end }}>
{{ partial "icon.html" .Pre }}