Fix Dropdown LanguageSwitcher.
This commit is contained in:
+1
-1
@@ -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
File diff suppressed because one or more lines are too long
@@ -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',
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user