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
+1 -1
View File
@@ -82,7 +82,7 @@ define(['./workbox-4a2e5f00'], (function (workbox) { 'use strict';
"revision": "3ca0b8505b4bec776b69afdba2768812" "revision": "3ca0b8505b4bec776b69afdba2768812"
}, { }, {
"url": "index.html", "url": "index.html",
"revision": "0.t3hi6i7ipso" "revision": "0.lgbjrbj51sg"
}], {}); }], {});
workbox.cleanupOutdatedCaches(); workbox.cleanupOutdatedCaches();
workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), { workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {
+1 -1
View File
File diff suppressed because one or more lines are too long
+2
View File
@@ -2,6 +2,8 @@ import os
def should_ignore(path): def should_ignore(path):
ignore_paths = [ ignore_paths = [
'dist',
'git',
'.idea', '.idea',
'dev-dist', 'dev-dist',
'node_modules', 'node_modules',
+3 -3
View File
@@ -56,11 +56,11 @@ const LanguageSwitcher: React.FC = () => {
<AnimatePresence> <AnimatePresence>
{isOpen && ( {isOpen && (
<motion.div <motion.div
initial={{ opacity: 0, y: 10 }} initial={{ opacity: 0, y: -10 }}
animate={{ opacity: 1, y: 0 }} animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0, y: 10 }} exit={{ opacity: 0, y: -10 }}
transition={{ duration: 0.2 }} 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 border border-zinc-800 bg-zinc-900/95 backdrop-blur-sm
shadow-lg" shadow-lg"
role="listbox" role="listbox"