(fix) nav icon transition

This commit is contained in:
kakkokari-gtyih 2023-07-16 17:53:42 +09:00
parent 67d343cf9e
commit 881204a310

View File

@ -28,8 +28,8 @@
</ClientOnly>
</button>
</li>
<li class="relative group transition-colors">
<a class="hover:opacity-80" href="#"><I18nIcon :class="['h-5 w-5', { 'text-white': (landing && scrollPos >= -40) }]" /><span class="sr-only">{{ $t('_nav.switchLang') }}</span></a>
<li class="relative group">
<a class="hover:opacity-80" href="#"><I18nIcon :class="['h-5 w-5 transition-colors', { 'text-white': (landing && scrollPos >= -40) }]" /><span class="sr-only">{{ $t('_nav.switchLang') }}</span></a>
<div class="absolute top-6 right-0 hidden group-hover:block z-[9955]">
<ul class="px-4 py-2 bg-slate-50 dark:bg-slate-800 rounded-lg shadow-lg space-y-1">
<li v-for="locale in locales">