From a02629aa340e24b4bfe873f8e1cfa50ad25f0cfc Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sat, 8 Apr 2023 20:58:08 +0800 Subject: [PATCH] fix-matery-topnav-menu-drop --- themes/matery/components/TopNav.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/matery/components/TopNav.js b/themes/matery/components/TopNav.js index 881e788d..9f6db386 100644 --- a/themes/matery/components/TopNav.js +++ b/themes/matery/components/TopNav.js @@ -35,12 +35,12 @@ const TopNav = props => { if (navTransparent) { nav && nav.classList.replace('bg-indigo-700', 'bg-none') nav && nav.classList.replace('text-black', 'text-white') - nav && nav.classList.replace('drop-shadow-xl', 'shadow-none') + nav && nav.classList.replace('shadow-xl', 'shadow-none') nav && nav.classList.replace('dark:bg-hexo-black-gray', 'transparent') } else { nav && nav.classList.replace('bg-none', 'bg-indigo-700') nav && nav.classList.replace('text-white', 'text-black') - nav && nav.classList.replace('shadow-none', 'drop-shadow-xl') + nav && nav.classList.replace('shadow-none', 'shadow-xl') nav && nav.classList.replace('transparent', 'dark:bg-hexo-black-gray') } @@ -129,7 +129,7 @@ const TopNav = props => {
{/* 导航栏 */} -