From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/app-sidebar/navLink.tsx | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/components/app-sidebar/navLink.tsx b/app/components/app-sidebar/navLink.tsx
index 295b553..bec6bf1 100644
--- a/app/components/app-sidebar/navLink.tsx
+++ b/app/components/app-sidebar/navLink.tsx
@@ -3,13 +3,13 @@
import { useSelectedLayoutSegment } from 'next/navigation'
import Link from 'next/link'
import classNames from '@/utils/classnames'
-import type { RemixiconComponentType } from '@remixicon/react'
export type NavIcon = React.ComponentType<
React.PropsWithoutRef<React.ComponentProps<'svg'>> & {
title?: string | undefined
titleId?: string | undefined
-}> | RemixiconComponentType
+}
+>
export type NavLinkProps = {
name: string
@@ -44,7 +44,7 @@
key={name}
href={href}
className={classNames(
- isActive ? 'bg-state-accent-active text-text-accent font-semibold' : 'text-components-menu-item-text hover:bg-state-base-hover hover:text-components-menu-item-text-hover',
+ isActive ? 'bg-state-accent-active text-text-accent font-semibold' : 'text-components-menu-item-text hover:bg-gray-100 hover:text-components-menu-item-text-hover',
'group flex items-center h-9 rounded-md py-2 text-sm font-normal',
mode === 'expand' ? 'px-3' : 'px-2.5',
)}
--
Gitblit v1.8.0