From 65915e30a8778d63bf19aee47be101ae768cb3e8 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Fri, 27 Sep 2024 17:11:00 +0800 Subject: [PATCH] =?UTF-8?q?magzine=20=E9=A1=B6=E9=83=A8=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/magzine/components/Header.js | 2 +- themes/magzine/components/MenuItemDrop.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/themes/magzine/components/Header.js b/themes/magzine/components/Header.js index 06ea6fec..aa0463e4 100644 --- a/themes/magzine/components/Header.js +++ b/themes/magzine/components/Header.js @@ -148,7 +148,7 @@ export default function Header(props) {
{/* 桌面端顶部菜单 */} -
+
{links && links?.map((link, index) => ( diff --git a/themes/magzine/components/MenuItemDrop.js b/themes/magzine/components/MenuItemDrop.js index 10e4add7..95a7cdb5 100644 --- a/themes/magzine/components/MenuItemDrop.js +++ b/themes/magzine/components/MenuItemDrop.js @@ -52,14 +52,14 @@ export const MenuItemDrop = ({ link }) => { {/* 子菜单 */} {hasSubMenu && (
    + className={`${show ? 'visible opacity-100 top-14' : 'invisible opacity-0 top-10'} absolute border bg-white dark:bg-black dark:border-gray-800 transition-all duration-150 z-20 block rounded-lg drop-shadow-lg p-4 `}> {link?.subMenus?.map(sLink => { return (
  • - + {link?.icon &&   } {sLink.title}