Fix Dropdown LanguageSwitcher.

This commit is contained in:
2025-04-15 14:05:03 +02:00
parent c1f59a0e6d
commit 76d178f54e
4 changed files with 7 additions and 5 deletions
+3 -3
View File
@@ -56,11 +56,11 @@ const LanguageSwitcher: React.FC = () => {
<AnimatePresence>
{isOpen && (
<motion.div
initial={{ opacity: 0, y: 10 }}
initial={{ opacity: 0, y: -10 }}
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: 10 }}
exit={{ opacity: 0, y: -10 }}
transition={{ duration: 0.2 }}
className="absolute bottom-full right-0 mb-2 w-48 rounded-lg overflow-hidden
className="absolute top-full right-0 mt-2 w-48 rounded-lg overflow-hidden
border border-zinc-800 bg-zinc-900/95 backdrop-blur-sm
shadow-lg"
role="listbox"