From ae4b5d30e7b55d25c1de9002d6cabdeb72db56c5 Mon Sep 17 00:00:00 2001 From: kkfluous Date: Mon, 13 Jul 2026 22:02:49 +0800 Subject: [PATCH] fix: restore mobile navigation typography --- src/components/Shell.tsx | 4 ++-- src/index.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Shell.tsx b/src/components/Shell.tsx index 71971e3..fde3a0c 100644 --- a/src/components/Shell.tsx +++ b/src/components/Shell.tsx @@ -183,7 +183,7 @@ export function Shell({ modules }: { modules: ModuleConfig[] }) { onClick={() => isGroup ? setOpenGroupId((current) => current === m.id ? null : m.id) : switchModule(m.id)} aria-expanded={isGroup ? isOpen : undefined} aria-haspopup={isGroup ? 'menu' : undefined} - className={cn('relative flex min-h-12 w-full flex-col items-center justify-center gap-0.5 rounded-2xl text-[10px] font-black transition-colors', isActive ? 'text-blue-700' : 'text-slate-400')} + className={cn('relative flex min-h-12 w-full flex-col items-center justify-center gap-0.5 rounded-2xl text-[10px] font-medium transition-colors', isActive ? 'text-blue-700' : 'text-slate-400')} > {isActive ? ( @@ -197,7 +197,7 @@ export function Shell({ modules }: { modules: ModuleConfig[] }) { const ChildIcon = child.icon; const childActive = child.id === activeModule; return ( - ); diff --git a/src/index.css b/src/index.css index f41699f..87124dc 100644 --- a/src/index.css +++ b/src/index.css @@ -26,7 +26,7 @@ body { } button, input, select { - font: inherit; + font-family: inherit; } .amap-logo,