对齐规则列表页交互样式
This commit is contained in:
@@ -84,7 +84,7 @@ export function Breadcrumb({ items = [], className = '' }: BreadcrumbProps) {
|
||||
<nav className={finalClassName} aria-label="面包屑导航">
|
||||
<ol className="flex items-center space-x-2 text-sm text-gray-500 mb-0">
|
||||
<li>
|
||||
<Link to="/" className="hover:text-primary-600 flex items-center">
|
||||
<Link to="/" className="hover:text-[--color-primary-hover] flex items-center">
|
||||
<i className="ri-home-line mr-1" />
|
||||
首页
|
||||
</Link>
|
||||
@@ -98,7 +98,7 @@ export function Breadcrumb({ items = [], className = '' }: BreadcrumbProps) {
|
||||
) : (
|
||||
<Link
|
||||
to={item.to || '#'}
|
||||
className="hover:text-primary-600"
|
||||
className="hover:text-[--color-primary-hover]"
|
||||
prefetch="intent"
|
||||
preventScrollReset={false}
|
||||
>
|
||||
@@ -110,4 +110,4 @@ export function Breadcrumb({ items = [], className = '' }: BreadcrumbProps) {
|
||||
</ol>
|
||||
</nav>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user