Menu items hover in the same way as search and dark mode switcher buttons.

This commit is contained in:
MaikelChan
2024-02-11 14:05:19 +01:00
parent ab6738cd4d
commit 393791265c
4 changed files with 11 additions and 11 deletions
@@ -1,11 +1,11 @@
<a href="{{ .URL }}" {{ if or (strings.HasPrefix .URL "http:" ) (strings.HasPrefix .URL "https:" ) }} target="_blank" {{
end }} class="flex items-center">
end }} class="flex items-center hover:text-primary-600 dark:hover:text-primary-400">
{{ if .Pre }}
<span {{ if and .Pre .Name}} class="mr-1" {{ end }}>
{{ partial "icon.html" .Pre }}
</span>
{{ end }}
<p class="text-base font-medium text-gray-500 hover:text-gray-900" title="{{ .Title }}">
<p class="text-base font-medium" title="{{ .Title }}">
{{ .Name | markdownify | emojify }}
</p>
</a>