diff --git a/postcss.config.mjs b/postcss.config.mjs index 991a98a..9d42973 100644 --- a/postcss.config.mjs +++ b/postcss.config.mjs @@ -2,7 +2,6 @@ const config = { plugins: { '@tailwindcss/postcss': {}, - autoprefixer: {}, 'postcss-preset-env': { features: { 'nesting-rules': false, diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro index b77ffa8..45eb856 100644 --- a/src/components/Navigation.astro +++ b/src/components/Navigation.astro @@ -200,9 +200,9 @@ const currentPath = pathname.slice(1); // Add shadow on scroll if (currentScrollY > 10) { - header.classList.add('shadow-sm'); + header.classList.add('shadow-xs'); } else { - header.classList.remove('shadow-sm'); + header.classList.remove('shadow-xs'); } // Update last scroll position @@ -240,6 +240,6 @@ const currentPath = pathname.slice(1); /* Mobile menu transition */ #mobile-menu { transition: opacity 0.3s ease; - backdrop-filter: blur(4px); + backdrop-filter: blur-sm(4px); } diff --git a/src/components/ShareButtons.astro b/src/components/ShareButtons.astro index db9c0f1..e7481a2 100644 --- a/src/components/ShareButtons.astro +++ b/src/components/ShareButtons.astro @@ -94,7 +94,7 @@ const encodedUrl = encodeURIComponent(url); > Copied! diff --git a/src/components/ThemeToggle.astro b/src/components/ThemeToggle.astro index 30f7cbc..252bcdc 100644 --- a/src/components/ThemeToggle.astro +++ b/src/components/ThemeToggle.astro @@ -5,7 +5,7 @@